
Search In
We can easily find date difference in php by using strtotime which convert two dates to unix time once convert we can manipulate easily by calculating the number of seconds between them.Its the easy way to calculate different time periods.
$date1
Hi Readers,
Today, I will be discussing about the "Bootstrapping" in AngularJS. AngularJS is a JavaScript framework. Everyone knows that we have dependency injection in AngularJS but at what time does dependency injection actually gets executed an
Hello Reader's if you want to use top in your MySql query then this blog is very helfull to you.
Lets see how to use top clause in MySql in different different location.
Suppose if you want to get only first 5 records of the table, Then you can use
Hello
Today we will discuss about the ways in which we can get all the CSS styles associated to an element.
The CSS styles to an element can be applied in two ways:
- using inline styles
e.g.
<div style="border:solid #000 2px; overflo
RIP is used in networking to find the best and efficient way to deliver the data in minimum delay .
RIP protocol is used with the routing algorithms to find out the best path for the packets or data to be send.
RIP uses four different kin
Block Coding
To ensure accuracy of the received data frame redundant bits are used. For example, in even-parity, one parity bit is added to make the count of 1s in the frame even.
This way the original number of bits is increased. I
Date Class in java:
There is a Date class in java under java.util package which can be used to print the current dates. There can be various ways to print the current date. Lets see with the help of example:
import java.util.Date;
public cla
It is basically the process of catching the error that occurred in the program and then taking an appropriate action.
It is very simple to handle the error in php.
While writing the program we should check all the possible error condition bef
How to get IP Address in Cakephp
I am writing this blog which will let you know how to get client's IP Address in Cakephp. The simplest way for getting client's IP Address in core php is $_SERVER['REMOTE_ADDR']. Similarly it is very
How to join tables and find by conditions in Cakephp 2 ?
There are 3 tables Venues, Venues type and Venue Opening Days. First and the most preferred way is use associations in the Model like hasMany, BelongsTo. Second way to join tables is to use th
