From: Hunter Walker Date: 2006-09-22T23:43:25+09:00 Subject: Re: converting a number to a date Kevin Olbrich wrote: > On Friday, September 22, 2006, at 12:13 PM, Hunter Walker wrote: >>My XML request returned a date field as a "string" with the value of >>1158364800000 >>Does Ruby have a function to turn this into a date? >> >>Thank you! >> >>-- >>Posted via http://www.ruby-forum.com/. >> > > You can, if you have any idea how that date is being encoded. It > doesn't seem like a timestamp, and it's not the format a Date or > DateTime object uses. > > _Kevin > www.sciwerks.com What format do I need for the Date or DateTime object? -- Posted via http://www.ruby-forum.com/.