Gregory Lypny a écrit :
> 
> Hi Everyone,
> 
>      How can I get MetaCard to handle dates in an international format,
> that is, as day/month/year, rather than American format (month/day/year)?
>  I've got the Date control panel on my iMac set to treat dates as the
> former, but MetaCard is handling them as if they were the latter.
> 
>      Regards,
> 
>           Greg
> 
> _________________________________________
> Gregory Lypny
> Associate Professor of Finance
> Concordia University
> 
> _________________________________________
> "Take chances, make mistakes!"
>        - Ms Frizzle, The Magic School Bus
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Hi Greg,

  set itemdel to "/"
  put item 2 of the short date into j
  if the length of j is "1" then put "0" before j
  put item 1 of the short date into m
  if the length of m is "1" then put "0" before m
  put j & "/" & m & "/" & item 3 of the short date into fld "acdate" of cd 1

Regards, Pierre Sahores

WEB & VPN applications and databases servers
Inspection académique de la Seine-Saint-Denis
Qualifier et produire l'avantage compétitif

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to