Calculate Dates Snippets


PHP code to calculate the difference between two dates

20 June, 2013   

How to select between two dates using MySQL code

29 July, 2013   

Update random dates in MYSQL table

22 December, 2012   

How to update random dates in MYSQL table

19 October, 2013   

Mysql code shows how to calculate last 7 days

MySQL code example to calculate age from Date Of Birth

17 July, 2014   

Find how many days there are between two given dates.

JavaScript code to get time intervals between two Dates

MS SQL triggers for automatic Create and LastModified Dates

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

Mysql Code example to find events made between two times not between two dates.

How to calculate distance between Mouse and Element

Scripts used to calculate Daylight Saving Time (DST) for the US and EU. Valid for years 1900 to 2099. [DST wasn't adopted until the 1950s-1960s for US and 1990s for the EU] By: brad degrandis

23 August, 2014   

Correctly calculate the date of Easter Sunday.

23 September, 2011   

An example Dates with the Ordinal Suffix . Below is the code that will do this.

24 July, 2014   

Calculate distance between two zip codes or postal codes.

11 November, 2013   

These are two JavaScript functions that should of course be properly called on "onkeyup" event in the appropriate fields.

13 June, 2011   

This C# code snippet calculates a Fibonacci number using recursion, i.e., the Fibonacci method calls itself when necessary.

30 August, 2011   

Calculates the total size of a MySQL database in KB/MB or GB...

Calculate the more near point belonging to a given segment.