IntX extension
- on
Properties
- dateTimeFromTimestamp → DateTime
-
Available on int, provided by the IntX extension
Converts a timestamp in seconds into a DateTime object.no setter
Methods
-
formattedDateFromTimestamp(
{String format = 'dd.MM.yyyy'}) → String - Returns a formatted date string from a timestamp in seconds.
-
formattedDateTimeFromTimestamp(
{String format = 'dd.MM.yyyy HH:mm'}) → String - Returns a formatted date-time string from a timestamp in seconds.