Variables, dates, and e-mails

Here’s what I am trying to do. I have an input box that when data is entered will change a variable. When the variable changes it is checked and another movie loads into layer 2 then unloads itself and then sets the variable back to “null”. What I don’t know how to do is to display this variable and add the date and time to it. Then I’d like to automatically send an e-mail with this information to myself. Does anyone know enough actionscripting to help me out?

Kind regards,

Marcus