+ Reply to Thread
Results 1 to 3 of 3

Date and Time

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    San Francisco, CA
    MS-Off Ver
    2011
    Posts
    2

    Date and Time

    I need a formula to convert 6/10/2015 9:14AM to MM/DD/YYYThh:mm:ss.mmmTimeZone
    example: 6/10/2015T09:14:00.000GMT-7:00

  2. #2
    Registered User
    Join Date
    12-16-2014
    Location
    Amsterdam, Nederland
    MS-Off Ver
    Excel 2013
    Posts
    71

    Re: Date and Time

    Hi,

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where in F16 the date/time is entered and in G13 the Time zone is defined just as "GMT-7:00"
    Bas

    Any reputation is appreciated.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Date and Time

    Hi, welcome to the forum

    Is this a text entry? test with =ISNUMBER(cellref) FALSE indicates text. If it is not text, and really is a date, you could just use Custom formatting
    m/d/yyyyThh:mm:ss "GMT-7:00"

    In your sample format, not sure what you mean by the bolded part...
    MM/DD/YYYThh:mm:ss.mmmTimeZone
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 02-15-2015, 07:32 PM
  2. Need to separate date/time from a single cell and create a date/time chart
    By slicksilver79 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-19-2014, 09:48 PM
  3. Replies: 3
    Last Post: 12-19-2013, 06:49 AM
  4. Calculation of time difference between the Start date & time & End Date & time
    By Harry Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-17-2012, 03:54 PM
  5. [SOLVED] Calculating days & time left from start date/time to end date/time
    By marie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2005, 10:40 AM

Tags for this Thread

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