()
| 391 | * This represents "today" from the user's perspective. |
| 392 | */ |
| 393 | export function getTodayLocal(): Date { |
| 394 | const now = new Date(); |
| 395 | return new Date(now.getFullYear(), now.getMonth(), now.getDate()); |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Parse a date string into a Date object that represents the calendar day |