how to represent data type of date in ts code example Example: types date typescript const date: Date = new Date();