Introduction to JavaScript Programming – part 4

Introduction to JavaScript Programming – part 4: Continuing from Introduction to JavaScript Programming – part 3. In the previous part, we’ve discussed JavaScript Mathematics, JavaScript Assignment Operators, and JavaScript Comparison Operators. In this part, we are going to discuss Control Structures Used in JavaScript, JavaScript Logical Operators, and JavaScript Bitwise…

Read More

Introduction to JavaScript Programming – part 3

Introduction to JavaScript Programming – part 3: Continuing from Introduction to JavaScript Programming – part 2. In the previous note, we’re discussed about JavaScript Strings and Arrays. In this part, we are going to discuss JavaScript Mathematics, JavaScript Assignment Operators and JavaScript Comparison Operators. JavaScript Mathematics You can perform mathematical…

Read More

How to: Create facebook or twitter style “x-time ago” date format in php

Normally date formats are like “ January 1 2010 10:40:25 GMT” , “01 Mar 2010“, etc. But here I tell you ‘how to show date like “1 minute ago“, “2 days ago“, displayed on Facebook , Twitter etc.. In PHP time(); function returns a Unix Value of current date and…

Read More