I have a string with date and time that are comma delimited in this format. how do I convert it to date object?
2013-10-02, 4:30am
true2.2.0 :012 > Date.parse('2013-10-02, 4:30am')
#<Date: 2013-10-02 ((2456568j,0s,0n),+0s,2299161j)>
I have a string with date and time that are comma delimited in this format. how do I convert it to date object?
2013-10-02, 4:30am
I have a string with date and time that are comma delimited in this format. how do I convert it to date object?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:02:52 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,797 |