Results 1 to 2 of 2
Thread: Convert timezone and format
01-09-2010, 03:34 PM #1
Convert timezone and format
I need to write a function in coldfusion-8 which will take the "dateTime", "timezone","offset" and "dateformat" as arguments it must return the dateTime in the given timezone.
I am not sure how to convert the time in another time zone, can someone guide me on this?
02-02-2010, 11:25 AM #2
Can you clarify the inputs:
dateTime -> is that YOUR servers date and time, like from the now() function?
timezone -> is this the timezone you are in, or the one you are translating to?
offset -> Is this the offset of your server from gmt, or from the passed in timezone from gmt? what are the units for the offset? Hours?