0

Is there a way to parse the current localtime in the below format using JavaScript?

Format: YYYY-MM-DD'T'hh:mm:ss.ssssssTZD YYYY = four-digit year MM = two-digit month (01=January, etc.) DD = two-digit day of month (01 through 31) hh = two digits of hour (00 through 23) (am/pm NOT allowed) mm = two digits of minute (00 through 59) ss = two digits of second (00 through 59) s = six digits representing a decimal fraction of a second TZD = time zone designator (Z or +hh:mm or -hh:mm) Example: 2022-03-21T12:29:01.339916+00:00

21st Apr 2022, 4:45 PM
venkatrohan
venkatrohan - avatar
1 ответ