hello all
im looking for fast way to convert timestamp format to date format
and vaiseversa in tcsh , can it be done?
thanks allot
Since ls -l output can look like this:
-rw-r--r-- 1 user001 admin 2190 Jun 20 12:31 filea
-rw-r--r-- 1 user001 admin 3176 Mar 18 2003 fileb
It would be difficult, if not impossible to do. The trick would be to use Perl, since it is the one utility I know of that's widely available that can grab the stat structure. The stat structure contains the date in number of seconds since midnight on 1/1/1970, and can thus be converted easily into whatever format you want.
Do you have perl?
-Mike
yeah i have and i can do it in perl with localtime function , but i need it
in tcsh.
what can i do ?