Brian Dunning's FileMaker Custom Functions

ConvertJSONDate ( text )

Json Date Formatting to filemaker date

  Average rating: 5.0 (1 vote) Log in to vote

Leo Holland   Leo Holland - Show more from this author
British Honey Company

Share on Facebook Share on Twitter

  Sample input:
ConvertJSONDate (“/Date(1486425600000+0000)/“)
  Sample output:
07/02/2017

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

This little function will convert a JSONGetElement date format (.net) and convert it so that Filemaker can use it.

Works great with API's that return Json data that you need to parse dates from such as invoice payments.

 

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