SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  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,537
    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
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,285
    Mentioned
    181 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
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains


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
  •