We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Can i change the Macro __DATE2__ to show the date as (yy-mm-dd)? /Ingo
I guess you could do the following:
char code bdate[] = __DATE2__; //mm/dd/yy char xdata mdate[] = "??-??-??"; void main (void) { mdate[0] = bdate[6]; mdate[1] = bdate[7]; mdate[3] = bdate[0]; mdate[4] = bdate[1]; mdate[6] = bdate[3]; mdate[7] = bdate[4]; . . . }