Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

[Added] JS nuCurrentDate(), nuCurrentDateTime()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

[Added] JS nuCurrentDate(), nuCurrentDateTime()

Unread post by admin »

nuCurrentDate() will return the current date. Default format: YYYY-MM-SS

nuCurrentDateTime() will return the current date and time. Default format: YYYY-MM-SS hh:mm:ss


Pass an optional format parameter.

E.g.

Code: Select all

nuCurrentDate('dd.mm.yyyy')
Post Reply