SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Converting Ruby Date

  1. #1
    SitePoint Member
    Join Date
    Nov 2010
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Converting Ruby Date

    Hi,

    How can I convert this Ruby date: -25572.424522 to: 0 year, 0 month, 27 days, 5 hours, 5 minutes, 12 second

    Thanks.

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,513
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can I convert this ruby date: !..%^!--.$&**...@@!~ to: 1 year, 5 month, 27 days, 5 hours, 5 minutes, 12 second?

  3. #3
    Community Advisor silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    1,642
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    @emurad - Your question is a bit vague and brief.

    This should be helpful:
    Date and Time in Ruby
    Ruby / Dates and times - WhyNotWiki

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •