To get today's date in TypeScript, you can create a new Date object without any arguments. This will return the current date and time in the local timezone.
Here's an example:
index.ts32 chars2 lines
You can then use this Date
object to display or manipulate the date as needed.
gistlibby LogSnag