Navigation Home / Tags / Date

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
13
Date Submitted Mon. Oct. 23rd, 2006 10:19 PM
Revision 1
Helper jdenton
Tags Calendar | Date | days | PHP
Comments 0 comments
daysBeteenDates will calculate the number of days between 2 dates in the form of 'YYYY-MM-DD'.
10
Date Submitted Fri. Oct. 14th, 2005 4:59 PM
Revision 1
Helper lilleman
Tags Date | Duration | PHP | Time
Comments 0 comments
How Long Has It Been Since a Certain Date?
8
Date Submitted Mon. Aug. 7th, 2006 4:48 PM
Revision 1
Scripter bertheymans
Tags Date | Java | Time
Comments 0 comments
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.

Check out the docs here for more detail.

enjoy
7
Date Submitted Mon. Apr. 3rd, 2006 10:33 AM
Revision 1
Helper jpinkham
Tags Date | intersect | Interval | Java
Comments 1 comments
A handy class I use all the time to encapsulate the idea of whether two events coincide. For example, given a time period representing a shift, and a list of time periods representing transactions or sessions or whatever, find which ones are either totally or partially within the time period. This class make it a bit easier.
7
Date Submitted Wed. Feb. 22nd, 2006 12:58 AM
Revision 1
Coder mattrmiller
Tags Compare | Date | Java
Comments 2 comments
Compare two dates in Java.
6
Date Submitted Fri. Aug. 18th, 2006 11:01 AM
Revision 1
Scripter ASmith
Tags Date | python
Comments 0 comments
Computes the difference between two dates in seconds
6
Date Submitted Thu. Oct. 20th, 2005 6:27 PM
Revision 1
Coder mattrmiller
Tags Date | Java | Parse
Comments 1 comments
Date Parse
5
Date Submitted Fri. Oct. 27th, 2006 9:33 AM
Revision 1
Helper bright
Tags Date | Delphi | Julian
Comments 0 comments
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
5
Date Submitted Wed. Oct. 11th, 2006 7:15 AM
Revision 1
Beginner toriwells
Tags com | Date | Java
Comments 0 comments
This function returns a Date object being set at 12 A.M. It is useful for comparing dates where you don't know if they'll come set at the beginning of the day or not.
5
Date Submitted Tue. Mar. 6th, 2007 8:26 PM
Revision 1
Beginner overPlumbum
Tags age | Date
Comments 1 comments
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
« Previous 1 2 Next »