Finding difference between two dates using javascript

Posted by on Jan 30, 2013 in Javascript, Jquery | No comments yet

When we need to calculate the difference between two dates using javascript we need to convert the string to date and here is the code to do this And to find the difference in hours And to find the difference …

Place holder using javascript

Posted by on Jan 13, 2013 in HTML, Javascript | No comments yet

By using javascript we can create placeholder which is compatible with the older browsers which didn’t support the new placeholder and here is the code on how we can do this

Find next and previous date from current date PHP

Posted by on Nov 8, 2012 in Php | No comments yet

I found an interesting new way to find a future or past day, month, or year using PHP.To recaps we can find next and previous date from current date PHP Here are few examples It is much easier than using …

Date formats in php

Posted by on Oct 4, 2012 in Php | No comments yet

Some of the date formats in php mainly we used in coding are mentioned below Assuming today is March 10th, 2012, 5:16:18 pm, and that we are in the Mountain Standard Time (MST) Time Zone

Load More