I have a file with some date columns in MM/DD/YYYY format:
SMPBR|DUP-DO NOT USE|NEW YORK||16105|BA5270715|6/6/2007 |MWERNER|109||||JOHN||SMITH|MD|72211118||||||74559|21 WILMINGTON RD||D|11/6/2003|SL# MD CONTACT-LIZ RICHARDS|||0|Y|N||1411458|
And I want to convert the date format to:
... (5 Replies)
In my shell script i have a variable which stores date in the format of YYYYMMDD. Is there any way to format this value to MM/DD/YYYY.
Thanks. (8 Replies)
Hello,
I am writing a script that parses different logs and produces one. In the source files, the date is in DD MM YYYY HH24:MI:SS format. In the output, it should be in DD MON YYY HH24:MI:SS (ie 25 Jan 2010 16:10:10)
To extract the dates, I am using shell substrings, i.e.:
read line
... (4 Replies)
Hi all,
i had a code where in user will enter a date in yyyymmdd format.. i didnt use any validation for the date and now the problem is if a user enters date instead of month after year it is proceeding with the code..
like if the date is 20120426 and if the user enters 20122604 it... (4 Replies)
Hi I have a problem with Date format in my code.
1st I am trying to convert today's date to yesterday's using
YESTERDAY3=`perl -e '@y=localtime(time()-86400); printf "%04d/%02d/%02d",$y+1900,$y+1,$y;$y;'`
And once it is done I am trying to using the yesterday date in a grep command to... (3 Replies)
Hi All,
I have line
,A,FDRM0002,12/21/2017,,0.961751583,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
it contains date in mm/dd/yyyy format i want to change this to yyyymmdd format using perl.
Use code tags, thanks. (8 Replies)
Hi All
I need help in converting a string of YYYYMMDD format to date in Sun OS and then find out if the day is a Wednesday or not. The "date -d" option is not working and your help is much appreciated.
The date command usage from the operating system we use here is as follows:
usage: ... (1 Reply)
Hi All
I need help in converting a string of YYYYMMDD format to date in Sun OS and then find out if the day is a Wednesday or not. The "date -d" option is not working and your help is much appreciated.
The date command usage from the operating system we use here is as follows:
Thanks,
SK (11 Replies)
Discussion started by: SK123
11 Replies
LEARN ABOUT DEBIAN
image::exiftool::mwg
Image::ExifTool::MWG(3pm) User Contributed Perl Documentation Image::ExifTool::MWG(3pm)NAME
Image::ExifTool::MWG - Metadata Working Group support
SYNOPSIS
# enable MWG tags (strict mode enabled by default)
use Image::ExifTool::MWG;
# disable MWG strict mode
$Image::ExifTool::MWG::strict = 0;
DESCRIPTION
The MWG module contains tag definitions which are designed to simplify implementation of the Metadata Working Group guidelines. These
special MWG composite tags are enabled simply by loading this module:
use Image::ExifTool::MWG;
When the MWG module is loaded, "strict MWG conformance" is enabled by default. In this mode, ExifTool will generate a Warning tag instead
of extracting EXIF, IPTC and XMP from non-standard locations. The strict mode may be disabled by setting the MWG "strict" flag to zero
(either before or after loading the MWG module):
$Image::ExifTool::MWG::strict = 0;
AUTHOR
Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
REFERENCES
<http://www.metadataworkinggroup.org/>
SEE ALSO
"MWG Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm)perl v5.12.4 2011-01-31 Image::ExifTool::MWG(3pm)