+ Reply to Thread
Results 1 to 5 of 5

change date time zone

  1. #1
    Registered User
    Join Date
    04-13-2006
    Location
    Melbourne, Auustralia
    MS-Off Ver
    2007
    Posts
    14

    change date time zone

    I receive from my broker in the States a financial report that shows transaction dates in American EST. As I'm in Australia this is somewhat annoying. Is there a way, perhaps adding an extra column, that converts this time to Australian Eastern Standard Time?

    Regards,
    ijw
    Attached Files Attached Files
    Last edited by ijw; 02-16-2009 at 12:09 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change date time zone

    You don't specify your exact needed format with an example. Does this link give you something you can work with:

    http://www.mvps.org/dmcritchie/excel...ime.htm#t2cols
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change date time zone

    For the date in cell B2, the following three formulas allow you to decipher the pieces:
    Please Login or Register  to view this content.
    Now you can piece all those together in a Date formula, like so...ugly, but all in one cell:

    =DATE(RIGHT(B2,4)*1,TEXT(DATE(1,MONTH((1&LEFT(TRIM(B2),3))),1),"m")*1,TRIM(RIGHT(LEFT(TRIM(B2),FIND(" ",TRIM(B2),1)+2),2))*1)

    or if you used helper cells to capture those pieces:

    =DATE(E2,D2,C2)

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,749

    Re: change date time zone

    I'm assuming you need to add 15 hours to convert from US EST to Australia EST. With transaction date in b2 you can use this formula in a blank column to convert and add 15 hours

    =TRIM(MID(B2,FIND(":",B2)-5,2)&LEFT(B2,FIND(" ",B2,2)-1)&RIGHT(B2,5)&MID(B2,FIND(":",B2)-3,9))+15/24

    This is a valid excel date/time and as such you can format any way you want, see column S on attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-13-2006
    Location
    Melbourne, Auustralia
    MS-Off Ver
    2007
    Posts
    14

    Re: change date time zone

    Guys, thank you so much for your your help. daddylonglegs, your spreadsheet works perfectly. An adjustment for daylight savings and Bob's your Uncle.
    "Actually, I am a rocket scientist.". jb, that has to be the quote of the day. Just waiting now for "Actually, I am a brain surgeon." I am neither, so thank you both very much.
    Cheers
    ijw

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1