+ Reply to Thread
Results 1 to 3 of 3

formula to add PST or PDT timezone to NOW() function

  1. #1
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    405

    formula to add PST or PDT timezone to NOW() function

    A create a time and date stamp and I need to let people know what timezone I am in whether we are in daylight saving (PDT) or standard time (PST) when I use the NOW() function. Is there a formula I can use to add that PST or PDT extension to the time?
    Last edited by Bobbbo; 02-16-2017 at 02:10 PM. Reason: Mark it solved

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: formula to add PST or PDT timezone to NOW() function

    I don't know that there's an official format for timezones, but you could force it with something like:

    =TEXT(NOW(),"mm/dd/yyyy mm:hh:ss")&IF(AND(TODAY()>=5/12/2017,TODAY()<11/5/2017)," PDT"," PST")

    Which spits out:

    02/10/2017 02:15:39 PST

  3. #3
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    405

    Re: formula to add PST or PDT timezone to NOW() function

    Quote Originally Posted by CAntosh View Post
    I don't know that there's an official format for timezones, but you could force it with something like:

    =TEXT(NOW(),"mm/dd/yyyy mm:hh:ss")&IF(AND(TODAY()>=5/12/2017,TODAY()<11/5/2017)," PDT"," PST")

    Which spits out:

    02/10/2017 02:15:39 PST
    Hi CAntoch, that is exactly what I needed. It will work until they change the date on which Daylight savings is on or off! Thanks so much!

+ 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. Timezone Conversion
    By denroi in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-02-2021, 10:19 AM
  2. Timezone
    By danallamas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2014, 09:33 PM
  3. Timezone difference
    By jimmisavage in forum Excel General
    Replies: 16
    Last Post: 12-03-2013, 10:35 AM
  4. Dropdown Timezone
    By dazzlerellis in forum Excel General
    Replies: 3
    Last Post: 12-19-2012, 12:54 PM
  5. Timezone calculations
    By filky in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2008, 07:48 AM
  6. timezone calculation
    By j_anne in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-13-2007, 04:09 AM
  7. Timezone calculations
    By tangomj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2007, 09:01 PM

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