CIS 2279 Homework Assignment #11
Due Friday, Oct 14,
2011
All files created must be saved in your class directory
/mnt/homes/CLASSES/CIS2279/<username>
- Create a perl script named lab11.pl in your user directory. The
script must perform the following operations:
- Display the current time to the terminal displaying the
values individually (ie. Year = 2010, Month = Oct, Day = 14, Hour
= 23, etc). Months should be displayed at a string (Jan, Feb, etc.)
- Print to the terminal what the date and time will be in 13
days in a human readable format (not just the value in
seconds).
- For the files in /mnt/homes/CLASSES/CIS2279/LAB11/
display the last modification time in a human readable
format.
(see lab #10).
- Prompt the user to enter the year, month, day and time.
Use these values to caluclate and display the entered date in
a human readable form along with one week,
one month and six weeks in the future.
solution
last updated: 10 Oct 2011 19:11