struct
DST     TRUE
HEALTHY         FALSE
JULIAN  53880
LEAPMONTH       FALSE
MSADV   87.0
NOW     {ts '2025-06-05 13:24:49'}
RAW     53880 06-05-25 13:24:49 50 0 0 87.0 UTC(NIST) *
SUCCESS         TRUE



Here's what I get when I run your code. You'll see that NOW is getting 
all horqued up!


Paul Hastings wrote:
> Mike Kear wrote:
>   
>>       <cfset result.now=ParseDateTime(ListGetAt(result.raw, 2, " ")
>>     
>
> first off, cf interprets all datetimes in the server tz. if your server is in 
> a 
> tz that has DST & your date is 2006-04-02 02:01:00.0 (the cusp of DST for the 
> US), cf will roll that over to 2006-04-02 03:01:00.0 when you do 
> ParseDateTime().
>
> this function is dependent on those servers returning the time of day in an 
> exact format. simplest thing to test is if maybe the format has changed a 
> bit, 
> dump the raw cfhttp file content & see whats what.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to