Based on my simple codes, I am seeing the following:
1) When the stack open, the message box shows me the following format:
7/15/13
2) Thanks to a user on LiveCode I manage to use his example which turns the above format to the following:
2013-7-15
3) What I am trying to achieve is the following format:
13-7-15
Can friends of LiveCode help in showing me how to change the year from YYYY to YY.
Code: Select all
on preOpenStack
put "" into field "Field4"
put "" into field "Field1"
answer the Date
put the Date into fDate
convert fDate to dateitems
put (the item 1 of fDate) & "-" & (the item 2 of fDate) & "-" & (the item 3 of fDate) into field "Field1"
end preOpenStack
Best Regards