Re: CFLAP and Time Stamp

2004-09-09 Thread Doug James
James,

I have not had the pleasure of working with SunONE LDAP but here is a 
date parsing function that I wrote to work with SunONE Calendar. If you 
have any questions about it or suggestions for improvement let me know.

Doug






mid(arguments.rawDate, 5, 2),
mid(arguments.rawDate, 7, 2),
mid(arguments.rawDate, 10, 2) - structFind(getTimeZoneInfo(), 
"utcHourOffset"),
mid(arguments.rawDate, 12, 2),
mid(arguments.rawDate, 14, 2)
) />



James Blaha wrote:

>CF’ers,
>
>Can anyone help me out with a time stamp issue in LDAP? I need to minus 
>(-4:00:00:) from a time stamp in a Sun One 5.1 Directory LDAP server.
>
>What’s in LDAP: 2004-09-08 02:24:24.0046Z
>
>2004-09-08 02:24:24.0046Z (-4:00:00:) = 2004-09-07 21:24:24:0046Z
>
>Can someone please send me some basic code?
>
>Regards,
>James Blaha
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CFLAP and Time Stamp

2004-09-08 Thread James Blaha
CF’ers,

Can anyone help me out with a time stamp issue in LDAP? I need to minus 
(-4:00:00:) from a time stamp in a Sun One 5.1 Directory LDAP server.

What’s in LDAP: 2004-09-08 02:24:24.0046Z

2004-09-08 02:24:24.0046Z (-4:00:00:) = 2004-09-07 21:24:24:0046Z

Can someone please send me some basic code?

Regards,
James Blaha
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]