![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| override the system date-timestamp on the Unix servers | DavidH | UNIX for Dummies Questions & Answers | 5 | 09-27-2007 11:05 AM |
| vmstat output with date & timestamp | luft | UNIX for Dummies Questions & Answers | 9 | 11-16-2006 10:49 AM |
| get a file date/timestamp | alex31 | UNIX for Dummies Questions & Answers | 3 | 12-22-2005 10:06 AM |
| how to convert from timestamp to date format in tcsh | umen | Shell Programming and Scripting | 2 | 11-22-2005 04:51 AM |
| Creating file with date/timestamp in it | ccpjr29 | Shell Programming and Scripting | 7 | 03-04-2002 04:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
getting date from timestamp
Hi All,
i have a time stamp. from that i am trying to awk to get the year, month and date. TIME=20060614092446 DESIRED OUTPUT: 20060614 i am doing the following; TIME=20060614092446 $ TimeStarted=`expr match '$TIME' '.*\(......\)'` echo $TimeStarted i am not getting any output. can anyone please suggest me. thanks mark |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|