Todays date in YYYY-MM-DD format

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Todays date in YYYY-MM-DD format

Post by klevis miho »

How can I get the current date in YYYY-MM-DD format?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Todays date in YYYY-MM-DD format

Post by pickle »

Look into the Date() object.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply