content top

Get a UNIX timestamp using Javascript.

The Javascript Date object has a number of functions for working with dates and times. The getTime() method returns the millisecond representation of the Date object. In this tiny little post I going to show you how to convert Date object to UNIX timestamp. In php we mostly use timestamp representing date and I think this will help you whenever you need to deal with both time and date functionality. To convert the current date and time to a...

Read More

jQuery datepicker’s date conversion similar to PHP time() function.

jQuery datepicker’s date conversion similar to PHP time() function.

Now a days jQuery has become most popular in web base development. I’m new in jQuery and recently i faced problems converting jQuery datepicker’s date to timestamp as I’m storing date in database. PHP time() function generates 10 digits int number wheather jQuery generates 13 digits counting milliseconds. Thus I need to convert that. It’s not tough you can give a...

Read More
content top
 
#CSS3 pattern collection http://t.co/Gzhh3SCm2 days ago