datetime.aspx Example

Show current value of DateTime object.

 

The current date and time is 6/6/2026 11:03:32 PM.

Current seconds: 32.

Current minutes: 3.

Current hour: 23.

Current day: 6.

Current month: 6.

Current year: 2026.