idate, itime - return date or time in numerical form
subroutine idate (iarray)
subroutine itime (iarray)
Idate returns the current date in iarray. The order is: day, mon, year. Month will be in the range 1-12. Year will be >= 1969.
Itime returns the current time in iarray. The order is: hour, minute, second.
SEE ALSO ctime(3F), fdate(3F)4.2 Berkeley Distribution May 15, 1985 IDATE(3F)
Check Out this Related Man Page
time, ctime, ltime, gmtime - return system time
integer function time()
character*(*) function ctime (stime)
subroutine ltime (stime, tarray)
integer stime, tarray(9)
subroutine gmtime (stime, tarray)
integer stime, tarray(9)DESCRIPTION
Time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock.
Ctime converts a system time to a 24 character ASCII string. The format is described under ctime(3). No 'newline' or NULL will be
Ltime and gmtime disect a UNIX time into month, day, etc., either for the local time zone or as GMT. The order and meaning of each element
returned in tarray is described under ctime(3).
SEE ALSO ctime(3), itime(3F), idate(3F), fdate(3F)4.2 Berkeley Distribution May 15, 1985 TIME(3F)
I have a tab delimited HUGE file (13 million records) with Detail, Metadata and Summary records.
Sample File looks like this
M BESTWESTERN 4 ACTIVITY_CNT_L12 A 3
M AIRTRAN 4 ACTIVITY_CNT_L12 A 3
D BESTWESTERN FIRSTNAME LASTNAME 209 N SANBORN AVE
D BESTWESTERN FIRSTNAME LASTNAME 6997... (25 Replies)
I am trying to validate the third column in a pipe delimited file.
The column must be 10 char long and all digits 0-9.
I am writing out two new files from the existing file, if it would be quicker, I could leave the bad rows in the file and ignore them in the next process.
What I have is... (12 Replies)
I am learning shellscripting and now I 'm struggeling with this problem:
When the number in the left column is equal or higer then 200, I want to send an email to "postmaster" @ the corresponding domain in the right column.
209 ... (11 Replies)
I tried the below piece of code for my script to check whether it has a blank space for a particular field.
print "Field 10 is Correct";}
print "Field 10 is Wrong"; }
Please help me to know whether the "if" condition applied here is correct or do i... (14 Replies)
I have a table that looks like this, but for a whole year:
Hourly weather history for XXX 7 Jun
0:00 Clear weather 28
1:00 Clear weather 23
2:00 Clear weather 21
3:00 Clear weather 22
4:00 Clear weather 22
5:00 Clear weather 22
6:00 Clear weather 23
7:00 Clear... (12 Replies)
anyone please let us know how to write shell script to find the missing mountpoints after server reboot.
i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
i want to validate the date and time in filename
filename : mohan.moh.ccyymmdd.ccyymmdd.hhmmss.txt
i want code that check that date given in filename 20151222 in this format ccyymmdd else it mark file is not valid used in my OS detail is AIX 6... (12 Replies)