GtdDateTime extension
- on
Methods
-
difInDays(
DateTime? other) → int -
Available on DateTime, provided by the GtdDateTime extension
-
isSameDate(
DateTime? other) → bool -
Available on DateTime, provided by the GtdDateTime extension
-
localDate(
String pattern, {String lang = "vi"}) → String -
Available on DateTime, provided by the GtdDateTime extension
-
utcDate(
String pattern, {String lang = "vi"}) → String -
Available on DateTime, provided by the GtdDateTime extension
Static Methods
-
timestampFromLocalDate(
{required String dateTime, String pattern = "yyyy-MM-dd HH:mm:ss"}) → int -
Available on DateTime, provided by the GtdDateTime extension
-
timestampFromUTC(
String utcTime) → int -
Available on DateTime, provided by the GtdDateTime extension
-
timeStampToDateString(
int? timeStamp) → String -
Available on DateTime, provided by the GtdDateTime extension