Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
hml398 #1
Is Time Between 2 other times
There is an obvious solution to this but I can't figure it out:
I need to know whether the current time is between midnight and 8am.
Thanks
hml398 Guest
-
#38950 [NEW]: script times out long befor reaching max. execution time
From: pavel dot stratil-jun at fenix dot cz Operating system: gentoo (amd64smp) PHP version: 5.1.6 PHP Bug Type: *Encryption... -
dupe times in Time::HiRes
Monks, mongers and perlites, I have been attempting to use it to provide 20 digit time date stamp which includes 6 digits for microseconds. In... -
Formatting a time field to 24 hour time (Military time) in the Datagrid
Anyone know how to do this? -
Application_BeginRequest is fired 2 times each time I do an action on the browser...
Hi, I hope someone could help me with this problem... First, the context : IIS : v5.1 Framework : v1.1 Language : C# I have a main page... -
iPhoto + Canon Dig Elph times out? Doesn't download more than 50 pics at a time?
I have a Canon S200 digital Elph. On two different computers, I've found it only downloads the first 50 pictures or so into iPhoto, and then stops.... -
zoeski80 #2
Re: Is Time Between 2 other times
How About ...
<CFIF Hour(now()) LT 8>
It is between midnight and 7:59AM
<CFELSE>
It is sometime at or after 8AM
</CFIF>
OR this should work too
<CFIF CreateTime(Hour(Now()), Minute(Now()), 0) LT CreateTime(8, 0, 0)>
it is between midnight and 7:59AM
</CFIF>
zoeski80 Guest
-
Stefan K. #3
Re: Is Time Between 2 other times
<cfset timeCurrent = Now() - Int(Now())>
<cfif timeCurrent gte 0 and timeCurrent lte 8/24>
between midnight & 8am
<cfelse>
not between
</cfif>
Stefan K. Guest



Reply With Quote

