Brian Dunning's FileMaker Custom Functions

time.UTCtoLocal ( theTimeStamp ; ZoneOffset ; ObservesDST )

Converts UTC timestamp to local time DST adjusted

  Average rating: 4.3 (3 votes) Log in to vote

Rob Poelking   Rob Poelking
Excelisys, Inc.

Share on Facebook Share on Twitter

  Sample input:
time.UTCtoLocal ( GetAsTimestamp ( BE_UTCMilliseconds/1000 ) ; -5 ; 1 )
  Sample output:
7/13/2017 4:04:03.7 PM

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Takes UTC (GMT) time stamp and converts it to local time assuming the correct time zone offset in hours +/-h and whether or not the local area observes Daylight Saving. The start and end dates for daylight saving may need to be adjusted for locale outside of the U.S.

Depends on function written by Koji Takeuchi, Splash, Inc. for the DateByNthDOW function.



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.