Get Date Snippets


05 July, 2012   

Converts a date or time from one timezone to another.

09 July, 2012   

Place the following JavaScript code within the <BODY> of your web page.

23 August, 2014   

Correctly calculate the date of Easter Sunday.

14 February, 2011   

Build a Calendar Table

13 November, 2014   

Here is a form that asks for Name and Email address. When the form is submitted the Email address is verified first. If you put in a Name and a correct Email address, an anchor element is displayed allowing the user to download the file, two cookies are created storing the Name and Email address. If the user goes BACK in the browser and tries...

Jave code for PDF Generation using iText JAR

09 November, 2017   

Copies Source file to Dest file, preserving modification date. Required units: Classes, SysUtils.

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

26 September, 2011   

Pop up windows can provide a great way to gain new subscribers to your publication and even increase your sales. However, they can also be very irritating to your visitors. For this reason, you may want to use a pop up window JavaScript code that will only load the pop up window on your visitor's first visit. That way you're not continually...

03 April, 2014   

JavaScript functions to add, fetch or delete browser's cookies

14 August, 2014   

Easy way to copy the contents of one table to another table.

A simple INSERT statement in MSSQL with the various types of values.

18 June, 2011   

You can create a function for logging system

30 April, 2011   

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

27 January, 2014   

Extracts the month from a specified date.

21 January, 2011   

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself. If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.

03 April, 2011   

If you're looking for a JavaScript code to enable you to create a first visit pop up window for your web site, you've come to the right place. Pop up windows can provide a great way to gain new subscribers to your publication and even increase your sales. However, they can also be very irritating to your visitors. For this reason, you may want...

08 February, 2014   

How to set/get/delete Cookies

26 December, 2012   

This cron will do the same on Windows as session management works on Linux

20 June, 2013   

How to select between two dates using MySQL code