Results 1 to 7 of 7

Thread: How can I convert GMT time to EST time in MS Access?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    11

    How can I convert GMT time to EST time in MS Access?

    Does anybody know how to convert GMT time to EST time in Access?

    Thank you!

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: How can I convert GMT time to EST time in MS Access?

    Originally posted by Joanny
    Does anybody know how to convert GMT time to EST time in Access?

    Thank you!
    What do you mean in Access ???? I do not think Access has any built in function that will do this kind of converion .. Write code pal ...

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    11

    GMT -> EST time

    Thanks

    Actually I get the data from server and they are a txt format, then I import to Access, that's the GMT time, I have to convert them to EST time, how should I do?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Well, I can tell you from experience that Central time is -6GMT.... and Eastern is -5GMT..... and Pacific is -8GMT......

    So, if you have the current time in GMT....
    Subtract 5 hours to get the Eastern time....
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    11
    I know I need to add 4 hours to it at here. But how should I add it?

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    Originally posted by Joanny
    I know I need to add 4 hours to it at here. But how should I add it?
    Use the DATEADD function.....
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    11
    Got it!

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width