You cannot post messages because only members can post, and you are not currently a member.
|
getAge(dateOfBirthObject, ageDateObject)
|
| |
I created a function to get someones age when supplied a birthdate and the date at which you require the age. What do ye think? (I have checked that the second Date is after the first date in the function that calls this one). /** * A function which will calculate the age in years of the first Date... more »
|
|
Localizing time from UTC dates
|
| |
Hey all, My localizing function works pretty well. It parses a UTC date (given by my database) on the page and uses jQuery to replace the text with a local time. I successfully get the UTC offset hours and add it to the UTC date to get the local time. The problem I am having is that the toString(format) method is not... more »
|
|
A simple question from a newbie.....
|
| |
Where does date.js get the date from?
Is it the computer it is running on? The server a website is hosted
on?
Or am I missing something?
Thanks
|
|
Get Last Week (Sun-Sat)
|
| |
Hi,
Lib is really a very great work
However, I have an issue i want to get last week from Sunday to
Saturday. '1 week ago' always show last Wednesday if today is
Wednesday but i want last week from Sunday to Saturday so if today is
12-09-2009 i want to get date 11-29-2009 or say first day of last week... more »
|
|
Translated "tr-TR" Turkish(Turkey)
|
| |
I've tested this and it works perfectly fine with Turkish words now.
Thank you.
/**
* Version: 1.0 Alpha-1
* Build Date: 13-Nov-2007
* Copyright (c) 2006-2007, Coolite Inc. ([link]).
All rights reserved.
* License: Licensed under The MIT License. See license.txt and
[link].... more »
|
|
Allowing only future dates?
|
| |
I have a scenario where datejs is parsing dates from a field that
conceptually will only ever have future dates in it. Is there a way
to give a hint to .parse() to tell to expect future dates? For
example, if today is a 12/2/09 (a wednesday) and someone types
"Tuesday", it would parse into 12/8/09. Also, if someone types in... more »
|
|
Can someone post a simple example showing how to use datejs with a form input
|
| |
I'm trying to incorporate Datejs into a form I'm building, and I'd
basically like to replicate the "Mad Skillz" example from the datejs
homepage. The form asks for a date for an event to start, which I'd
need to pass as a variable to a mysql database (using PHP).
Could someone please post a simple implementation of this (not the sql... more »
|
|
|