Brian Dunning's FileMaker Custom Functions

FMtoDB2timestamp ( ts )

Convert FileMaker timestamp to DB2 timestamp

  Average rating: 4.6 (13 votes) Log in to vote

Tony Winter   Tony Winter
KansasDataworks
http://www.kansasdataworks.com

Share on Facebook Share on Twitter

  Sample input:
1/28/2016 11:59:59 PM
  Sample output:
2016-01-28-23.59.59

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

Pass a FM timestamp and outputs a DB2 formatted timestamp.

 

Comments

Lee Smith   Lee Smith
Jul 29, 2016
You need to change your parameter from timestamp to ts
 
Tony Winter   Tony Winter, Kansas, USA
Jul 29, 2016
Done. Thanks Lee.
 

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 20 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: