Top "Relative-date" questions

How to use Moment.js?

I'm unable to follow the Moment.js documentation, and need some help with setting it up. I've referenced the moment.…

javascript jquery relative-date momentjs
Javascript timestamp to relative time

I'm looking for a nice JS snippet to convert a timestamp (e.g. from Twitter API) to a nice user …

javascript datetime time relative-date
How to convert NSDate in to relative format as "Today","Yesterday","a week ago","a month ago","a year ago"?

I want to convert nsdate in to relative format like "Today","Yesterday","a week ago","a month ago","a year …

ios objective-c nsdate nsdateformatter relative-date
PHP: producing relative date/time from timestamps

I'm basically trying to convert a Unix timestamp (the time() function) to a relative date/time that's both compatible with …

php time timestamp relative-date
Android: Convert string to a time

I am trying to convert a string that contains a time stamp to a time that is consistent with androids …

android date time relative-date
Swift iOS doesRelativeDateFormatting have different values besides "Today" and "Yesterday"?

I have a number of dates that I am trying to represent using a relative date such as "Today, Yesterday, 1 …

ios date swift nsdateformatter relative-date