Brian Dunning's FileMaker Custom Functions

TimestampISO_UTC_to_FM_Local ( timestampISO_UTC )

Converts ISO 8601 UTC timestamp to device's local time FileMaker timestamp (with no hard-coded time zone offset)

  Be the first to rate this function Log in to vote

Dan Shockley   Dan Shockley - Show more from this author

  Sample input:
TimestampISO_UTC_to_FM_Local ( "2025-01-15T18:00:00+0000" )
  Sample output:
1/15/2025 1:00 PM

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

Returns the FileMaker LOCAL time, given an ISO8601-format string in UTC time.
No need to hard-code the local time zone offset, only whether or not the local time zone observes U.S. Daylight Saving Time rules.

REQUIRES:
DateByNthDOW, by Koji Takeuchi, Splash, Inc., https://www.briandunning.com/cf/1282
time.Convert, by Rob Poelking, https://www.briandunning.com/cf/1161
time.UTCtoLocal, by Rob Poelking, https://www.briandunning.com/cf/2058
TimeLocalOffsetHours, by Dan Shockley, https://www.briandunning.com/cf/2641

 

Comments

Log in to post comments.

 

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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 21 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: