datetime.aspx Example

Show current value of DateTime object.

 

The current date and time is 4/14/2026 8:15:52 PM.

Current seconds: 52.

Current minutes: 15.

Current hour: 20.

Current day: 14.

Current month: 4.

Current year: 2026.