()
| 383 | * Get today in appropriate format for comparison |
| 384 | */ |
| 385 | export function getTodayString(): string { |
| 386 | return format(new Date(), "yyyy-MM-dd"); |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * Get today's date as a Date object set to midnight local time. |
no outgoing calls