Start Date - End Date OF Previous (Day, Week, Month and Year)

Here you can find out how to search the start date and end date of the different period in python. The required modules of python to work with datetime are as below : import datetime form datetime import timedelta, date import time  from pytz import timezone import pytz Fetching Dates: #Day: st_date = datetime.datetime.now(pytz.timezone(str(tz))).date()...

Python Date and Time

This is what we can do with the datetime and time modules  in Python. # import modules for the time and datetime import timeimport datetime # working with the date and time  print "Time in seconds since the epoch: %s" %time.time()print "Current date and time: " , datetime.datetime.now()print "Or like this: " ,datetime.datetime.now().strftime("%y-%m-%d-%H-%M")print...

Net Neutrality : Internet Freedom

The issue of net neutrality is one of the most talked about issues in India at present. Should you be worried? Most certainly, because it takes away your freedom of communicating freely and promotes inequality by granting total control to Internet Service Providers (ISPs) on which sites and apps get priority. Above all, it is important to know the...

Sample of java program

Sample of java program to print " Hello Java" on screen with short  description to easy understand the java program. Sample Program public class Hello { public static void main ( String args[] ) { System.out.println("Hello Java"); ...

Basic Commands for Unix

 Hello friends, Here I am going to explain you all the basic command for the Unix. So you can handle system or access the data through the terminal.        Commands : >>Basic Commands 1)  cal :  The cal command is used to to display the calender. For example to check calendar you need to type cal...

Step to set the the path of JDK (Java Development Kit)

Step 1.  Download JDK ( Depend on your windows version compatibility ). Step 2.  Install JDK. Step 3.  Set the System variable path (eg. Win8).           Open MyComputer properties.   Click on "Advance System...

Basic of Java

Introduction         Java is an object oriented programming language and a platform developed by the  James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project. The small team of sun engineers...