method

to_s

v1_8_7_330 - Show latest stable - Class: DateTime
to_s(# 4p)
public

:minute, :second, :second_fraction

1Note

Output format

szeryf ยท Feb 10, 2009

This outputs date & time in format of +yyyy-MM-ddThh-mm-ssZZZ+. All values are preceded with +0+ if less than +10+. Hours are in +0..23+ range. Timezone is sticked at the end. Watch out for capital +T+ in the middle :)