Date

Parameters (Blade)

Key Default value Type Available values Description
string - The date, in date string format or in unix timestamp format.
false boolean - Will return the date since.
6 months string - How long back to spell out time since
NULL - Present date's in this format. Default: D d M Y
en_US string - Region for the date
UTC string - Timezone for the date
formatDate string - What to do with the inputted date: formatDate, timesince, timeuntil. Can be false to just output the timestamp.
[] array - Array containing translations valid keys: year, month, week, day, hour, minute, second
[] array - Array containing translations valid keys: year, month, week, day, hour, minute, second
ago string - Suffix for the time since label
just now string - What to show when the date is considered to be in the present
60 integer - How many seconds back to show 'nowLabel'
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes