datetime.aspx Example

Show current value of DateTime object.

 

The current date and time is 8/4/2025 10:40:05 PM.

Current seconds: 5.

Current minutes: 40.

Current hour: 22.

Current day: 4.

Current month: 8.

Current year: 2025.