Ask a Question related to Dreamweaver AppDev, Design and Development.
-
PAM J #1
Convert Epoch Date
I'm working with an SQL database that stores dates in integer fields.
I'm using Coldfusion and was wondering if there is a function to convert these
integers into date/times. I've tried things like:
dateadd('hh',-8,#dateadd('s',arrival_time,'1/1/1970')#) with variations such
as -7, -5, etc instead of -8 (I need PST)
and it works alright but the time is way off. Seems like if the hour goes
past 1200 hours things get really strange with the time (i.e. hours are added
or rolled back to midnight then adds a day).
I'm comparing this output with the GUI interface for the product I'm using.
Any ideas? Maybe I need to launch a JavaScript? Seems to me that
Dreamweaver/Coldfusion would have a function for this.
Thank you in advance!
PAM J Guest
-
How to convert date into dd/mm/yy?
Hi i am reading an email. it is haivng date in this format. "Wed, 20 Apr 2005 18:37:17 +0530" now when i am dispalying this date i want to... -
Convert LDAP Attribute accountexpires to a date
I"m able to convert the attribute pwdlast set to a date using the following code, but it doesn't really work with accountexpires. Any help is... -
Convert Date to week number
Tim wrote: ISO8601 defines a standard, but not everyone follows it. See: ... -
Convert date/time to date in SQL Server 2000 statement
Can this be done? tia -
from epoch to date string
greetings, is there a revers of this below -- in a one-liner format? i.e. input to be `date` and output to be number of seconds since epoch. ...



Reply With Quote

