Current Date Snippets


15 February, 2012   

PHP code to displaying the current date in an HTML page.

PHP code for current Month/Day/Date with HTML colors & formatting.

Handy helper function which parses about any date and returns the same date in MySQL date/time format.

19 October, 2011   

An example to check Weekend

26 February, 2011   

Here shown how to highlight syntax

Change Date from dd/mm/yyyy to yyyy-dd-mm

19 February, 2013   

A small function to find the current URL of the page

13 October, 2012   

Code example to show current date and time

03 November, 2011   

Here are some simple examples of using the functions with your variables. Run these from any ".asp" page and watch what happens

07 February, 2011   

Automatic Copyright Year

Source code to convert an integer into binary representation

22 August, 2012   

This JavaScript code will enable you to display text within your status bar that is typed line by line.

22 August, 2011   

Here shown how to define a Custom Selector

The Gmail Bookmarklet will add a unique string to the email signature to prevent Gmail from trimming the content.

Code snippet to remove class after delay in jQuery.

19 December, 2012   

How to convert a java util Date into a sql Date for use in databases.

19 December, 2012   

Example shown here how to convert String to Date in Java

15 March, 2015   

How to automize versioning by modifying a line in the AssemblyInfo file.

23 January, 2013   

Returns the number of the quarter containing a given date.

11 September, 2014   

Code to display the current time as a .PNG image.