Tuesday, July 20, 2010

Important Datetime functions

msgbox day(now())
msgbox weekdayname(weekday(now()))

or

msgbox weekdayname (weekday(day(now())))

msgbox monthname(month(now()))
msgbox year(now())

msgbox hour(now)
msgbox minute(now)
msgbox Second(now)

No comments:

Post a Comment