GetAsFMTimestamp_Offset ( source ; HrsOffset ; Include_Seconds )
Similar to my other Function GetAsFMTimestamp, but provides 2 additional parameters
Be the first to rate this function Log in to vote
Kyle Williams - Show more from this author
Augusto Digital https://www.youtube.com/channel/UCpJlB7cmVNMjbjgY96MEsng |
GetAsFMTimestamp_Offset( "2019-05-08T00:16:34.933"; -1; 1 ) //UTC (+1hr)
GetAsFMTimestamp_Offset( "2019-05-08T00:16:34.933"; 1; 0 ) //UTC (+1hr & no seconds)
5/7/2019 11:16:34 PM
5/8/2019 1:16 AM
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This is probably one of my favorite functions and the one I'm most proud of creating as it is extremely useful. So many API integrations use a different form of timestamp and this allows you to use one simple function to transform all of the different various Timestamp formats into a FileMaker formatted timestamp that can be combined with the GetAsDate and GetAsTime functions.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.