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: | 764 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 31:43:21 |
| Calls: | 12,756 |
| Calls today: | 4 |
| Files: | 15,359 |
| Messages: | 6,556,832 |