Convert Date Snippets


19 December, 2012   

Example shown here how to convert String to Date in Java

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

19 December, 2012   

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

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

PHP code to convert MySQL date to UNIX timestamp

05 July, 2012   

Converts a date or time from one timezone to another.

10 October, 2012   

Converts a date or time from one timezone to another.

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

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

This example asp code shows here how to convert from degrees to radians and vice versa

22 September, 2012   

Javascript code to convert a string to all upper or lowercase

19 October, 2011   

An example to check Weekend

23 January, 2013   

Returns the number of the quarter containing a given date.

15 February, 2012   

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

23 September, 2013   

Convert an IP address to an integer for easier storage. Also, convert an integer back to an IP address.

20 February, 2012   

SQL select query to show records with specify date in where clause

09 October, 2011   

Example shows how to get the database date and time.

By default, Delphi gets its date/time, currency and numeric format from Control Panel's International settings. We can set the constants defined in Delphi, like DecimalSeparator, ShortDateFormat and others like in the code below. To a complete list of these variables, look at Currency and date/time formatting variables in Delphi Help.

31 December, 2011   

How to create a procedure for date calculation