datetime.aspx Example

Show current value of DateTime object.

 

The current date and time is 2/25/2026 6:32:31 PM.

Current seconds: 31.

Current minutes: 32.

Current hour: 18.

Current day: 25.

Current month: 2.

Current year: 2026.