2020-11-04 02:01 AM - last edited on 2021-09-15 09:32 AM by Noemi Balogh
2020-11-04 02:23 AM
realdaynum = 0 realmonthnum = 0 realyearnum = 0 dateStr = "" ch = OPEN ("DateTime", "", "%d/%m/%Y") n = INPUT (ch, "", "", dateStr) CLOSE (ch) !!print dateStr n=SPLIT(dateStr ,"%n %s %n %s %n",realdaynum,string_1,realmonthnum,string_2,realyearnum) !!print realdaynum !!print string_1 !!print realmonthnum !!print string_2 !!print realyearnum
if update_swch = 1 then realdaynum = 0 realmonthnum = 0 realyearnum = 0 dateStr = "" ch = OPEN ("DateTime", "", "%d/%m/%Y") n = INPUT (ch, "", "", dateStr) CLOSE (ch) !!print dateStr n=SPLIT(dateStr ,"%n %s %n %s %n",realdaynum,string_1,realmonthnum,string_2,realyearnum) !!print realdaynum !!print string_1 !!print realmonthnum !!print string_2 !!print realyearnumPARAMETERS update_swch = 0