convdate(1)

NAME

convdate - converts a date within a field of a dt file into a different format.

SYNOPSIS

convdate  [-hVvdfFiop]

DESCRIPTION
converts a date within a field of a dt file into a different format.

-h  --help
    print this message and exit

-V  --version
    print version info and exit

-v  --verbose
    print verbose runtime messages and warnings.

-d delim   --delim=delim
    field separator string (default: 0xfe)

-f field   --field=field
    1-based number of field to convert (default: 1)

-F field_label   --field-label=field_label
    header label of field to convert

-i input_format   --input_format=input_format
    date format in the input file - see strptime (default: %%m-%%d-%%Y-%%T)

-o output_format   --output_format=output_format
    date format in the output file - see strftime (default: %%Y-%%m-%%d-%%T)

-p  --preserve_header
    preserve the header line (default: do not preserve the header)

the file is read from the stdin and written to stdout

AUTHOR

Written by the maintainers and contributers of CRUSH tools.  See
    http://code.google.com/p/crush-tools

REPORTING BUGS

Report bugs to <crush-tools@googlegroups.com>, or visit
    http://groups.google.com/group/crush-tools

COPYRIGHT
   Copyright 2008 Google Inc.
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
       http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.