Brian Dunning's FileMaker Custom Functions

TimeStampAsRFC822 ( theTS ; Zone )

Converts a timestamp to RFC 822 format

  Average rating: 4.4 (31 votes) Log in to vote

Peter Vinogradov   Peter Vinogradov - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
TimeStampAsRFC822 ( Item::PubDate ; "GMT" )
  Sample output:
Sun, 04 Dec 2005 13:05:36 GMT (where Item::PubDate is a field containing the timestamp "12/4/2005 1:05:36 PM" )

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

Converts a FileMaker timestamp to RFC822, in the format: Sat, 07 Sep 2002 09:42:31 GMT

I use this as part of a solution to spin the RSS files for podcasts. For my time zone, I would use "-0500" for the "Zone" parameter. Note: my understanding of the RFC822 time spec is pretty poor, but so far this seems to generate valid timestamps for me.

 

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