![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing from Excel date format to MySQL date format | figaro | UNIX for Dummies Questions & Answers | 2 | 08-11-2009 04:23 PM |
| convert date format to mysql date format in log file | hazno | Shell Programming and Scripting | 3 | 03-03-2009 09:05 AM |
| Convert Epoch time format to normal date time format in the same file | rk4k | Shell Programming and Scripting | 3 | 11-19-2008 10:04 PM |
| date issue-find prevoius date in a patricular format | bsandeep_80 | UNIX for Advanced & Expert Users | 3 | 11-15-2007 08:42 PM |
| convert mmddyy date format to ccyyddd format?? | Bhups | Shell Programming and Scripting | 2 | 09-28-2006 12:30 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Date format of remote system
Hi, I am trying to write a small code where i capture the output of ls command on a remote system. However i want a certain consistency in the date format being received Say i want it to be dd/mm/yyyy format. how can i do this? This is what i am doing currently Code:
FTP1=`ssh ${USER_FTP_origin}@${MACHINE_FTP_origin} 2> /dev/null << !
cd ${PATH_ORIGIN}
ls -1 $File_name
exit
!`
This however sometimes gives me the date in dd/mm/yyyy and sometimes in mm/dd/yyyy format. Please suggest what can be done Thanks Last edited by Franklin52; 08-24-2009 at 08:37 AM.. Reason: Please use code tags! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|