Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to read systems current date and time

Answer Posted / kirtiranjan sahoo

we can use DATE command to know the system date and time.
and want to any modify, then
date +%Y-%m-%d
Y: Year
m: No of month
d: date number
If you want to know the yesterday date, simply you can write the below command
date -d "yesterday"
or
date -d "-1day"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a function?

1032


Is scripting and coding the same thing?

985


What is shell scripting used for?

998


What is wc in shell script?

980


What are the advantages of using shell scripts?

1063


What language is bash?

924


What is bash eval?

1012


what is tickets $ what low,medium,high priorite pls define time also

2154


Give some situations where typing error can destroy a program?

1246


How important is shell scripting?

1041


What is the meaning of $1 in shell script?

1117


What is awk script?

980


How to open a read-only file in the shell?

1127


How do I open the shell in cmd?

1134


What is the use of echo in shell script?

1011