getShortDate
Returns a short string representing the time if it's within the last 24 hours, otherwise returns a short string representing the date.
Return
Formatted date or time string, or null if time is 0
Parameters
time
The time in milliseconds