Subj : date format ideas
To : Ken Bowley
From : Vince Coen
Date : Thu Oct 06 2016 06:42 pm
Hello Ken!
Wednesday October 05 2016 18:52, you wrote to me:
> On 2016-10-05 09:56:28 -0700, Vince Coen wrote to Ken Bowley:
>> Would have thought that the Linux standard date format of YYYYMMDD
>> can be
> used
>> for all. Then only convert for display subject to LC settings
>> (sysop) or for language settings for bbs users (or there again just
>> the LC one only).
> You may be a little disappointed to learn that in the user record in
> MBSE sDateOfBirth is stored as a string in DD-MM-YYYY format, although
> other dates (tFirstLoginDate and tLastLoginDate) are stored a int32_t.
Load of space for the unix C construct as it is stored in binary.
>> Unix has a date and a date/time construct in C that has been in use
>> a very long time that can be used for the storage of such.
> agreed.
>> My applications when updating all use this form and only o/p to
>> display or pronter based on users system settings via LC_TIME.
Vince
--- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
* Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)