<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Dear Egbert,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I set the timezone appropriately and it works.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">However, I’m still checking how to solve the AM/PM problem. Since the appropriate time date stamp is set in the php.ini.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Many thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Egbert De Smet [mailto:egbert.desmet@uantwerpen.be]
<br>
<b>Sent:</b> mardi 11 juin 2019 18:10<br>
<b>To:</b> Eustache Męgnigbęto <eustache.megnigbeto@outlook.com><br>
<b>Subject:</b> Re: Changes in OD field structure<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Continuation : <o:p>
</o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">about the date-format you can consult a webpage like e.g.
<a href="https://www.php.net/manual/en/function.date.php" id="LPlnk14226">https://www.php.net/manual/en/function.date.php</a> but you will see it can be complicated.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">In ISIS itself you have the date() function (see the Reference Manual for the Formatting Language) which also allows manipulating its formatting by reshuffling substrings of that value returned.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I would have to look into the exact problem however before I can explain more.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">However if your only problem is with non-AM/PM time-settings, you can always take 08:00 as morning since the evening in a 24-hours setting will be 20:00 .<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<div id="Signature">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black">Egbert de Smet<br>
Universiteit Antwerpen<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Egbert De Smet<br>
<b>Sent:</b> Tuesday, June 11, 2019 7:02 PM<br>
<b>To:</b> Eustache Męgnigbęto<br>
<b>Subject:</b> Re: Changes in OD field structure</span><span style="font-family:"Calibri",sans-serif;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Eustache,<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I suspect that your time-zone in php.ini is not correctly defined.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">So locate the correct php.ini (depending of which version of PHP you use, different locations in Windows, XAMPP, LAMP, Linux...) and check for the variable<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">date.timezone =<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">You can find the allowed time-zones e.g. for Africa in :
<a href="https://www.php.net/manual/en/timezones.africa.php" id="LPlnk730585">https://www.php.net/manual/en/timezones.africa.php</a><o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<div id="Signature">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black">Egbert de Smet<br>
Universiteit Antwerpen<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Eustache Męgnigbęto <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:eustache.megnigbeto@outlook.com"><span lang="EN-US">eustache.megnigbeto@outlook.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Tuesday, June 11, 2019 3:07 PM<br>
<b>To:</b> Egbert De Smet<br>
<b>Subject:</b> RE: Changes in OD field structure</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Egbert,</span><span style="color:black"><o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I adopted the option that consists in checking the first two digits of the field.</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I have one further question :
</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The output of the OD field always gives the time of my computer plus one hour, e.g when my computer indicates 07:04:15 for example ABCD will store 08:04:15.</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Moreover, ABCD uses the AM and PM format without displaying AM or PM, so when ABCD stores 08:10:23 for example, one could not know if this means 8 Am or PM.</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Is there a manner to configure ABCD in order it gives the exact time indicated by my computer with the format 00- 24 (for hours) ?</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Many thanks,
</span><span style="color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Egbert De Smet [<a href="mailto:egbert.desmet@uantwerpen.be">mailto:egbert.desmet@uantwerpen.be</a>]
<br>
<b>Sent:</b> dimanche 9 juin 2019 10:50<br>
<b>To:</b> Eustache Męgnigbęto <<a href="mailto:eustache.megnigbeto@outlook.com">eustache.megnigbeto@outlook.com</a>>;
<a href="mailto:isis-users@iccisis.org">isis-users@iccisis.org</a><br>
<b>Subject:</b> Re: Changes in OD field structure</span><span lang="EN-US" style="color:black"><o:p></o:p></span></p>
</div>
</div>
<p><span lang="EN-US" style="color:black"> <o:p></o:p></span></p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Eustache,<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">indeed for some period there was a bug in the script to store the v980 'operator and date' field where ^o and ^d were switched.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">To repair this you could apply, on the records where this is the case, the following proc :
<o:p></o:p></span></p>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">------------------ cut here for proc 'switchv980.prc'</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">proc(<br>
'd980',<br>
( '<980>', s(replace(replace(replace(v980,'^d','~o'),'^o','^d'),'~o','^o')), '</980>',)<br>
),<br>
(v980/) </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">------------------ end of proc 'switchv980.prc'</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">with the command : </span>
<span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">mx marc
</span><span style="font-family:"Calibri",sans-serif;color:black"><a href="mailto:proc=@switchv980.prc"><span lang="EN-US" style="color:#0563C1">proc=@switchv980.prc</span></a></span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> copy=marc
now -all</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black">If you only want to have it correctly displayed (not really changing the records), you can simply use the PFT :
<o:p></o:p></span></p>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">replace(replace(replace(v980,'^d','~o'),'^o','^d'),'~o','^o')</span><span style="color:black"><o:p></o:p></span></p>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black">and if you have mixed records, with and without the problem, you can check whether ^o contains '20' at the beginning before applying the replace() :
<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">if (v980^o*0.2='20' then .... fi<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">The replace command has to be used 3 times (instead of 2) because first you have to set aside the date subfield marked as ~o, then switch the two subfields ^d and ^o, then put the ~o value in ^o.
A bit complicated but it works.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
<div id="Signature">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black">Egbert de Smet<br>
Universiteit Antwerpen</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> isis-users <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org"><span lang="EN-US" style="color:#0563C1">isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>
on behalf of Eustache Męgnigbęto <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:eustache.megnigbeto@outlook.com"><span lang="EN-US" style="color:#0563C1">eustache.megnigbeto@outlook.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Saturday, June 8, 2019 8:09 AM<br>
<b>To:</b> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:isis-users@iccisis.org"><span lang="EN-US" style="color:#0563C1">isis-users@iccisis.org</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><br>
<b>Subject:</b> [Isis-users] Changes in OD field structure</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">
</span><span style="color:black"><o:p></o:p></span></p>
<div>
<p><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Dear all,</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">I download abcd (version 2.0f, December 2018) to replace the old version I was using.</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">In one of my databases, I have an operator and date (OD) field. Once I saved the first record with this new version, I noticed that the OD field did not display as expected
for the new record. I browsed some existing records and found that the field displays normally. Inspecting the records with the “sin format” internal format, I discovered that the structure is not the same as in the existing records : the subfields (d and
o) are permuted so instead of storing the date in ^d and the operator in ^o, the new version stores them in ^o and ^d respectively.
</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">How can I change ?</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Thank you in advance.</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">====================================================================</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Eustache Męgnigbęto</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">09 BP 477 Saint Michel, Cotonou (République du Bénin)</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>