Convert Unix Timestamp Snippets


PHP code to convert MySQL date to UNIX timestamp

14 June, 2015   

This function helps you checking a UNIX timestamp with human readable time formats like 1m, 2d or 4y.

14 March, 2013   

PHP code example to process MySQL Timestamp

11 August, 2013   

Converts a DOS path to a Unix path and returns it.

Oracle 10G has enhanced the flashback feature further and has turned it into a much more powerful feature by introducing a number of additional function. Some of the more common ones are discussed here. - Flashback Table - Flashback Drop - Flashback Database

This will return the number of seconds between now and when the time field was inserted.

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 December, 2012   

Example shown here how to convert String to Date in Java

23 September, 2013   

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

Example code to update or convert the field to UPPERCASE.

Source code to convert an integer into binary representation

Demonstrates to select all the Birthdays that will occur as of today, 15 days

Select all the Birthdays that will occur as of today, 15 days

Convert a string of text and ad hyperlinks to all the URLs. We loop through each URL and add a hyperlink

10 October, 2012   

Converts a date or time from one timezone to another.

05 July, 2012   

Converts a date or time from one timezone to another.

This code will show you how to save data from gridview to xml file