Options

System Date Format

ArtursArturs Member Posts: 30
edited 2002-07-10 in Navision Financials
How can I get current system date format (for example dd.mm.yyyy. etc.)?
Regards,
Arturs Gedvillo
CTO

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You can use FORMAT with a known date, and then look in the result how the date looks like.

    datKnownDate := DMY2DATE(31,01,2002);
    txtDate := FORMAT(datKnownDate);

    Now, you can parse the txtDate field, to see where the 31 is located (that is the day), and what is used as separator.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.