Search Results

Search: Posts Made By: sonnyo916
1,801
Posted By sonnyo916
Input is 7/10/2012 19:21 or 7/10/2012 1:01 or...
Input is 7/10/2012 19:21 or 7/10/2012 1:01 or 7/1/2012 23:59 or 7/1/2012 1:01

Want it to be 7/10/2012

Fields may be 11/10/2012 01:01 but still need to be 11/10/2012.
1,801
Posted By sonnyo916
How to change variable length field?
Hello,

I have a file with a date field with various lengths. For example:

m/d/yyyy hh:mm or h:mm
mm/dd/yyyy hh:mm or h:mm

Is there a way using sed or awk to change the field to m/d/y ? I...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy