Image-ExifTool
view release on metacpan or search on metacpan
html/Shift.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ExifTool Date/Time Shift Module</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@66b96.p1s.plx.sd.apple.com" />
<style type='text/css'><!-- pre { margin-left: 2em } --></style></head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="_podblock_" style="background-color: #cccccc; color: #000" valign="middle">
<big><strong><span class="_podblock_"> ExifTool Date/Time Shift Module</span></strong></big>
</td></tr>
</table>
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#METHODS">METHODS</a>
<ul>
<li><a href="#ShiftTime">ShiftTime</a></li>
</ul>
</li>
<li><a href="#SHIFT-STRING">SHIFT STRING</a></li>
<li><a href="#NOTES">NOTES</a></li>
<li><a href="#TRICKY">TRICKY</a></li>
<li><a href="#BUGS">BUGS</a></li>
<li><a href="#AUTHOR">AUTHOR</a></li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>Image::ExifTool::Shift.pl - ExifTool time shifting routines</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This module contains routines used by ExifTool to shift date and time values.</p>
<h1 id="METHODS">METHODS</h1>
<h2 id="ShiftTime">ShiftTime</h2>
<p>Shift date/time value</p>
<pre><code>use Image::ExifTool;
$err = Image::ExifTool::ShiftTime($dateTime, $shift);</code></pre>
<dl>
<dt id="Inputs">Inputs:</dt>
<dd>
<p>0) Date/time string in EXIF format (eg. <code>2016:01:30 11:45:00</code>).</p>
<p>1) Shift string (see below) with optional leading sign for shift direction.</p>
<p>2) [optional] Direction of shift (-1 or +1), or 0 or undef to use the sign from the shift string.</p>
( run in 1.115 second using v1.01-cache-2.11-cpan-d59ab9ce9b0 )