I have a message board site and wanted to incorporate some schema to its posts. One of the main attributes for posts is the time in which they're creating in.
With that being said I came across the
dateCreated property. The one issue I'm facing in the formatting requirements. The expected type is either
DateTime. For UX purposes I was interested in displaying the post date in time ago in words. So instead of:
October 21, 2015, 7:28 AM
I would do something like:
5 minutes ago
Would I still be able to do something like the latter since it isn't exactly in date format?