- formatDate(__namedParameters: {
date: string;
todayText: string;
yesterdayText: string;
}): string
-
Parameters
-
__namedParameters: {
date: string;
todayText: string;
yesterdayText: string;
}
-
date: string
-
todayText: string
-
yesterdayText: string
Returns string
Name
Get formatted date
Description
Get date in today, yesterday or any other date format
Returns
formatted date