View Single Post
  #3  
Old April 9th, 2009, 03:26 PM posted to microsoft.public.access.forms
gmazza via AccessMonster.com
external usenet poster
 
Posts: 177
Default Greenwich GMT Date and Time problem

Honestly, I used this code from an example on the forums that people said
worked. I just have it in a module, and I set up a text field and gave it a
source of =GetZuluTime() and its coming out with a time of 6 hours later.
I looked at the example you gave me the link to and Daylight Savings is a big
one. Where would I put that code, just in a module? How would I call it, or
display the actual time?
Thanks for your help!

Douglas J. Steele wrote:
What's actually in strBuffer after your call to GetTimeFormat?

You might take a look at http://www.mvps.org/access/api/api0024.htm at "The
Access Web" to ensure you're also handling daylight savings time properly.

Hey there,
I have the following code in a module that I am calling the GetZuluTime()

[quoted text clipped - 46 lines]

End Function


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200904/1