Newbies crhockey Posted August 6, 2007 Newbies Posted August 6, 2007 Hi, Does anyone know a calculation for a time/date stamp modification field in GMT? Thanks
MarkWilson Posted August 10, 2007 Posted August 10, 2007 Try this formula. Change the "adjGMT" variable to your local region adjustment or to use a field value. Let( adjGMT = "-6:00:00" ; Timestamp( GetAsDate( TimeStamp_m ) ; GetAsTime( TimeStamp_m ) + GetAsTime( adjGMT ) ) )
Newbies crhockey Posted August 10, 2007 Author Newbies Posted August 10, 2007 Thanks Mark, Any idea on how to do this while taking into account the changes in daylight savings time? Also, any idea on how to also do this on MySQL? Thanks, Jack
MarkWilson Posted August 11, 2007 Posted August 11, 2007 Add a date test. If the time stamp date is greater than the second Sunday in March and less than the first Sunday in November, most areas of North America, subtract one more hour from the GMT. I am not familiar with MySQL.
Recommended Posts
This topic is 6375 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now