Ask Your Question
0

What are the date format (d/m/Y...) and time format used in JS that have already been used?

asked 2023-07-21 15:36:04 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2023-07-21 15:40:01 +0000

bukephalos gravatar image

There are several date and time formats that are commonly used in JS:

Date Formats: - "dd/mm/yyyy" - "mm/dd/yyyy" - "yyyy-mm-dd" - "dd MMM yyyy" - "yyyy년 M월 d일" - "d. MMMM yyyy"

Time Formats: - "hh:mm:ss" - "hh:mm AM/PM" - "H:mm" - "H:mm:ss" - "hh.mm.ss" - "HH:mm:ss.SSS"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-21 15:36:04 +0000

Seen: 33 times

Last updated: Jul 21 '23