Skip to main content
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: Karl Swedberg
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: Karl Swedberg ( @kswedberg )

MeanRat

Member since Oct 6, 2011

Recent Blog Comments By MeanRat

  • Ask Ben: Displaying And Formatting The Difference Between Two Dates

    Posted on Oct 7, 2011 at 2:56 PM

    @Andrew, Thanks for your reply. Too bad it does not work that easily. Luckily after some thinking, I came to the conclusion that I actually only needed the seconds. Currently I do not have the code with me. Right now it's @ work and am too tired to log in remotely. Thanks, Bye!!... read more »

  • Ask Ben: Displaying And Formatting The Difference Between Two Dates

    Posted on Oct 6, 2011 at 5:35 PM

    Dear Ben Looks great this, but I am getting a strange result. I want to calculate a difference which should be several seconds, like thirty. My result is this: {ts '2011-10-06 11:03:30'} {ts '2011-10-06 11:03:00'} 0 Years, 12 Months, 30 Days, 0 Hours, 0 Minutes, 30 Seconds The years are correct... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel