Date format: Difference between revisions
Content added Content deleted
m (Emacs Lisp: Add comments) |
(Added LiveCode example) |
||
Line 2,352: | Line 2,352: | ||
print word$(weekDay$,theDay+1);", ";word$(monthLong$,month);" ";day;", ";year</lang> |
print word$(weekDay$,theDay+1);", ";word$(monthLong$,month);" ";day;", ";year</lang> |
||
=={{header|LiveCode}}== |
|||
<lang LiveCode>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 </lang> |
|||
=={{header|Logo}}== |
=={{header|Logo}}== |