Edit This Code:
See Result »
Click the button to display the date and time as a string.
Try it
Result: