BizDoc implement Moment -like pipes based on DayJs.
Import DayJs in project app.module.ts to manipulate date and time in TypeScript code.
import dayjs from 'dayjs'; dayjs().isBefore(date1);
Use DayJs extensions to add functionalities.
{{ orderDate | amTimeAgo }}
{{ number | amDuration : 'm' }}
{{ date | amCalendar }}
Returns dates diff.
{{ date1 | amDifference : date2 : 'd' }}
Returns days between date1 and date2.
There was an error while loading. Please reload this page.
Release Notes
Angular npm, Flutter pub.dev and Nuget packages.