Please consider adding a new version of dogetdatetime()

Post your requests and ideas on the future development of mikroBasic PRO for PIC32.
Post Reply
Author
Message
Jack Flanders
Posts: 337
Joined: 17 Apr 2008 02:53
Location: Fantasy Land

Please consider adding a new version of dogetdatetime()

#1 Post by Jack Flanders » 16 Mar 2011 21:09

Presently, the function dogetdatetime() does not pad with leading zeroes. There are five components (month, day, hour, minute, seconds) that can be either one or two digits. So there is a variation of up to 5 spaces depending on the time of day the code gets compiled.

Further, the string that gets added to the compiled code must be parsed carefully because of the missing zero pads. This makes user code more complicated than it needs to be.

For legacy reasons, the existing dogetdatetime() should probably not be changed but a new one could be added to future versions of all compilers.

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: Please consider adding a new version of dogetdatetime()

#2 Post by slavisa.zlatanovic » 18 Mar 2011 13:02

Hi!

I'll inform our software developers of this issue.
It will be considered.
Thanks!
Best regards
Slavisa

Post Reply

Return to “mikroBasic PRO for PIC32 Wish List”