Computing.Net > Forums > Unix > Date Conversion

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Date Conversion

Reply to Message Icon

Name: JeffB
Date: February 1, 2006 at 12:18:03 Pacific
OS: Unix AIX 4.3
CPU/Ram: P660
Comment:

I need to yank a line from a file (the line is and will always be #9), convert the date and place it back in the file. The date format is listed initially as: 'YYYY-MM-DD HH24:MI:SS' and it needs to be converted to: 'HH:MI:SS AM MM/DD/YY'. I need to make this change in a ksh .sh script.
Thanks!

JeffB



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: February 1, 2006 at 13:12:58 Pacific
Reply:

Jeff:

Is there anything else on line #9?


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Date Conversion

ksh yyddd (julian date) to yyyymmdd www.computing.net/answers/unix/ksh-yyddd-julian-date-to-yyyymmdd/6471.html

set variables from date conversion www.computing.net/answers/unix/set-variables-from-date-conversion/6682.html

Date Conversion from 'DD-MON-YY' to www.computing.net/answers/unix/date-conversion-from-ddmonyy-to/8179.html