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”
and thanks for your comment. I hope you’re doing well today.
Unfortunately it’s not possible for now. But you can create your own field type for this: https://rich-snippets.io/how-to-add-your-own-field-type/
Hope that helps
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