Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] JS nuCurrentDate(), nuCurrentDateTime()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

[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