RosettaCodeData/Task/Date-format/LiveCode/date-format.livecode
2023-07-01 13:44:08 -04:00

6 lines
236 B
Text

on mouseUp pButtonNumber
put the date into tDate
convert tDate to dateItems
put item 1 of tDate & "-" & item 2 of tDate & "-" & item 3 of tDate & return into tMyFormattedDate
put tMyFormattedDate & the long date
end mouseUp