<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am trying to extract the "Acquisition Date" from a large set of
Zeiss Vision Image (ZVI) files using the "bftools" command line
tools. I can get the field without any problem but I can not find
out how to convert the returned integer into a formatted date.
Hopefully I have just missed something simple.<br>
<br>
When I open an individual test file in the official AxioVision LE
software the following data can be displayed:<br>
Acquisition date: 19/04/2011 16:10:42<br>
Date: 19/04/2011 13:48:35<br>
<br>
But the only fields I can get via the bftools "showinf" function
are:<br>
Acquisition Date: 4675820074566218095<br>
File Date: 4675820078182691028<br>
(using showinf -omexml -nopix - nocore filename.zvi)<br>
<br>
Is there a way of converting "4675820074566218095" to something like
"19/04/2011 16:10:42" using any of the command lines tools or any
other standard datetime conversion processes. The only information I
can find is that the field should be stored as an "ISO 8601" date
which is described as using a format like
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss], but I can not find anything about a
19 digit integer.<br>
<br>
I am using the command line tool "showinf" in linux:<br>
Version: 4.4.1<br>
VCS revision: fae9833<br>
Build date: 19 July 2012<br>
<br>
Thank you for any help.<br>
<br>
Joe<br>
<br>
<div class="moz-signature">-- <br>
<div><small><font face="Frutiger 55 Roman"> <b>Joseph Padfield</b><br>
Conservation Scientist<br>
Scientific Department<br>
The National Gallery<br>
Trafalgar Square<br>
London WC2N 5DN<br>
44 (0)20 7747 2553<br>
</font></small> <a
href="mailto:joseph.padfield@ng-london.org.uk"
title="joseph.padfield@ng-london.org.uk" target="_blank"><img
style="border:none"
src="cid:part1.07040101.00080607@ng-london.org.uk"
alt="Email"></a> <a
href="http://www.twitter.com/JoePadfield" title="Follow
JoePadfield on Twitter" target="_blank"><img
style="border:none"
src="cid:part3.06030304.01070606@ng-london.org.uk"
alt="Follow JoePadfield on Twitter"></a> <a
href="http://research.ng-london.org.uk"
title="http://research.ng-london.org.uk" target="_blank"><img
style="border:none"
src="cid:part5.00040002.03050005@ng-london.org.uk" alt="Link
2"></a> </div>
</div>
<p><pre>
----------------------------------------------------------------
Metamorphosis: Titian 2012
A unique collaboration with The Royal Ballet
11 July - 23 September 2012
Admission Free
Find out more:
http://www.nationalgallery.org.uk/metamorphosis-titian-2012
Sign up for news, offers and exclusive competitions from the
National Gallery:
http://www.nationalgallery.org.uk/what/news/subscribe.htm
</pre></p>
</body>
</html>