E-learning web site for open source, PHP 5.5, PHP 5, CSS3, MySQL, HTML5, Quiz

How to install MongoDB on Ubuntu?

How to install MongoDB on Ubuntu?

Calculating week of the year for given N week ago from Current week in PHP

Calculating week of the year for given N week ago from Current week in PHP:

This is function has written to get start week details and end week details for given (N) weeks ago

Note: Required PHP version 5.3 or greater

Current Date : 19-Feb-2014

Input : Start Date / End Date of Current week(201408), week with - (2014-08) current : 2014-02-16, 2014-02-22

Expected Output : Start Date / End Date of week(201403), week with - (2014-03) 5 ago: 2014-01-12, 2014-01-18

Result :
Array( [currentweek] => 08 [currentdate] => 08, 2014-02-19, 3 [startdateofcurrentweek] => 2014-02-16 [enddateofcurrentweek] => 2014-02-22 [weekago] => 201403 [startdateofagoweek] => 2014-01-12 [enddateofagoweek] => 2014-01-18 )

Install Android Studio on Debian/Ubuntu 14.04 Linux

How to install Android Studio on Debian/Ubuntu 14.04 Linux using PPA?

Install Oracle Java on Debian/Ubuntu 14.04 Linux

Install Oracle JAVA 8 (JDK/JRE 8u20) on Ubuntu 14.04 LTS

news letter