+ Reply to Thread
Results 1 to 3 of 3

How to find a date (user input) is under DST or not? Timezone is also provided.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    Noida
    MS-Off Ver
    Excel 2010
    Posts
    6

    How to find a date (user input) is under DST or not? Timezone is also provided.

    How to determine whether a date is under DST or not? Provided Date and Timezone is supplied by User.

    The system only needs to check whether that date (for that timezone) falls under DST or not?

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: How to find a date (user input) is under DST or not? Timezone is also provided.

    Hi Nikhil - Welcome to the forum.

    DST (Daylight Saving Time) for this year started on the 25th March 2012 and ended on 28th October 2012 (this is for UK). Assuming the start date in A2, end date in B2 and your choice of date in cell C2, use the below to find out whether your selected date (from C2) falls under DST or not:

    Formula: copy to clipboard
    =IF(AND(C2>A2,C2<B2),"Yes","No")


    Hope this helps.
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

  3. #3
    Registered User
    Join Date
    11-21-2012
    Location
    Noida
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to find a date (user input) is under DST or not? Timezone is also provided.

    What I am looking for is:
    User enters a date, lets say : 22-Nov -2012
    then user enters the Time Zone, lets say: EST
    Then macro should tell whether this date for this time zone is under DST or not?

    I hope now my question is clear

+ 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