FlextCoreDateTime extension

on

Properties

isDate bool

Available on DateTime, provided by the FlextCoreDateTime extension

no setter

Methods

differenceBetweenDateDays(DateTime other) int

Available on DateTime, provided by the FlextCoreDateTime extension

Computes the difference between this DateTime and other considering the two dateTime as dates, meaning it does not take into account the time.
isBetween(DateTime? from, DateTime? to) bool

Available on DateTime, provided by the FlextCoreDateTime extension

toDate() DateTime

Available on DateTime, provided by the FlextCoreDateTime extension

toTimeOfDay() TimeOfDay

Available on DateTime, provided by the FlextCoreDateTime extension

toUtcWithSameTime() DateTime

Available on DateTime, provided by the FlextCoreDateTime extension

Get a new DateTime instance in UTC having the same time as the current date time instance.