Brian Dunning's FileMaker Custom Functions

FormatTimestamp ( TheTimestamp ; FormatString

Uses the flags available in the Unix date tool to format a timestamp.

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

Chuck Ross   Chuck Ross
Chivalry Software
http://chivalrysoftware.com

Share on Facebook Share on Twitter

  Sample input:
FormatTimestamp( Get( CurrentTimeStamp ); "%a, %b %d, %Y" )
  Sample output:
Thu, Oct 21, 2010

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

Read the man page for the date tool for the flags that were used. %Z (time zone offset) isn't supported at this time, but if anyone has suggestions for how to do so without plugins or being platform specific, let me know.

 

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.

Under construction. Email me your wish list for improvements.