Thank you everyone for the responses
bjorsq your solution worked out great. Thank you for the help.
On Feb 4, 5:39 pm, bjorsq p...@bjorsq.net wrote:
To do this in JavaScript, you need to extract the text representation of the
date you have in the div, parse it, and set up a new JavaScript
There's also a jQuery plugin which already does this.
Check out: http://timeago.yarp.com/
On Thu, Feb 5, 2009 at 11:36 AM, Bob O sngndn...@gmail.com wrote:
Thank you everyone for the responses
bjorsq your solution worked out great. Thank you for the help.
On Feb 4, 5:39 pm, bjorsq
Sorry if this isn't any help but why don't you do it on the server side?
On Thu, Feb 5, 2009 at 11:39 AM, Bob O sngndn...@gmail.com wrote:
Can any one point me in the right direction for my issue.
I have a div with a text value pulled in from a database 01/01/2009
Im trying to write a
I agree with Cam Spiers that it's better to do it server-side.
Create the format for the date that's easy to compare with in
Javascript, and just stick it in a hidden input field.
On Feb 4, 12:39 pm, Bob O sngndn...@gmail.com wrote:
Can any one point me in the right direction for my issue.
I
To do this in JavaScript, you need to extract the text representation of the
date you have in the div, parse it, and set up a new JavaScript Date object
to compare against the current date/time. If your dates are formatted like
[day]/[month]/[year] (I'm in the UK), then this should work (but
5 matches
Mail list logo