similar issue today, i was using a custom tag allowing the user to modify a time 
field(just uses up and down arrows that change the hours and minutes), but now they 
want it to load with the current local time.  will probably modify the default value 
of the tag to take in the local time, if possible, haven't looked yet.  anyone have 
another solution before i start?

thanks,
seth

-----Original Message-----
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:51 PM
To: CF-Talk
Subject: RE: dateFormat


Tony:

You can always use JavaScript to handle the date/time display for you.
Since JS runs in the client's browser, it runs in their time zone.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 12:00 PM
> To: CF-Talk
> Subject: dateFormat
>
>
> hi there.
>
> if I have this on a page..
>
> <cfoutput>#DateFormat(Now(),'mm/dd/yyyy')#</cfoutput>
>
> this is cool for all my users on the east coast....however, this would
> not work for my users west of the east coast.  what do you all do
> when you have to correct for this?  what kinda detection is there,
> available
> so that I can auto-adjust based on the location of the user hitting
> the site?
>
> I know all about UTC functions, and adding/subtracting hours from time
> changes, but dynamically, I would like to make this kinda stuff happen,
> so
> that if a user logged into our site from california, they would see a
> time/date
> that was 4 hours earlier....make sense?
>
> thanks
>
> ..tony
>
> Tony Weeg
> Senior Web Developer
> UnCertified Advanced ColdFusion Developer
> Information System Design
> Navtrak, Inc.
> Mobile workforce monitoring, mapping & reporting
> www.navtrak.net
> 410.548.2337
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to