![]() |
|
|
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 |
| Formatting Date Variable (Pls help) | gmoth | Shell Programming and Scripting | 1 | 02-19-2008 12:03 PM |
| formatting date for different locales | Aeon | UNIX for Dummies Questions & Answers | 2 | 08-23-2007 01:39 AM |
| Date formatting | knc9233 | UNIX for Dummies Questions & Answers | 8 | 01-16-2007 06:17 PM |
| date formatting | mgirinath | Shell Programming and Scripting | 4 | 07-08-2006 06:08 AM |
| Formatting date | radhika03 | Shell Programming and Scripting | 2 | 12-14-2005 02:56 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
formatting date in ksh
hi all,
in ksh, how do i format date so it includes hour and minute ?? i am trying the following command : date +%Om/%Od/%Oy%OH:%M but it displays the hour and minute concatenated with the day/month/year e.g 12/10/0814:08 when i want the output to be 12/10/08 14:08 i tried `date +%Om/%Od/%Oy %OH:%M` but that just leaves the time portion out and displays date only i.e 12/10/08. thanks in advance. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|