Convert unix date to google supported date


I’ve created a video object schema to use with youtube videos but I’m having an issue with the uploadDate property because it’s stored as Unix epoch (e.g. 1587373213) and google test only recognizes  ISO dates(e.g. 04/20/2020 @ 9:00am (UTC))

Does SNIP has a way to convert the date before creating the schema?


2 thoughts on “Convert unix date to google supported date

  1. My issue is solved, I duplicated the upload date field and stored it in a different date format that google understands, thanks for the quick support

Leave a Reply