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