Help with timing please

Help with timing please

Hi,

I am using the following code

if (input.Telephone.length()  =  11)
{
    sendmail
    (
        To       :  input.Telephone + "@textmagic.com" 
        From     :  zoho.adminuserid 
        Subject  :  "This is Nigel from " + input.Solicitor 
        Message  :  input.Text_to_send 
    )
}

This effectively sends an email that is converted into texts.

I often work on files late at night or early in the morning so obviously I cant send then as I do not want to disturb.

How can I use the above code but tell the code not to send until say 08.00 when the client will be awake.

Thanks