SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Please post you date&time formatting script

    Hi, i'm looking for a function to display date and time in the following way

    about 22 hours ago
    26 days ago
    about 1 month ago

    and

    10 hours and 17 minutes ago
    1 day and 6 hours ago
    1 week and 3 days ago


    Please post if you have a function that does anything similar to the above!
    Love!

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    direct you to this thread:
    http://www.sitepoint.com/forums/show...t=web+2.0+date

    should have the required snippets.
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....


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
  •