Calculate Postal Codes Snippets

24 July, 2014   

Calculate distance between two zip codes or postal codes.

19 October, 2013   

Mysql code shows how to calculate last 7 days

C++ source code for standard ASCII table generator

Example code shown here Skeleton codes for Threading on iPhone

MySQL code example to calculate age from Date Of Birth

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

02 November, 2016   

A PHP template for dealing with any sort of error

25 March, 2012   

JavaScript Codes to show alert box on mouse over

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

PHP code to calculate the difference between two dates

23 August, 2014   

Correctly calculate the date of Easter Sunday.

30 April, 2011   

Countdown to the start of Summer in the Northern Hemisphere: June 21, 2011; 1:16 PM Eastern Daylight Time (EDT)

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.

Have you ever wanted to know how much memory one of your PHP scripts uses when it runs? You might want this information if your script has a memory leak or takes a long time to execute. If that's the case then there's a great built-in function called memory_get_usage, which will display the exact amount of memory being used by your script. This...

If you're looking for a great way to enable your visitors to navigate your web site, this JavaScript drop down box with automatic redirect may be what you're looking for. This JavaScript code will enable your visitors to click on a drop down box to select the location on your web site in which they would like to navigate. Once they make their...

This example code calculates the ratio between the X and Y columns of the RATIO table.