Code for creating a message file with time and date

Asked By 0 points N/A Posted on -
qa-featured

I am creating a msg file and wants to send it with time and date setting is it possible to  set time for messages that we sent. if please help me to write code for this and need code sample

SHARE
Answered By 0 points N/A #162574

Code for creating a message file with time and date

qa-featured

Hello Kumarnew

Hope that my message finds you well.

Please try this:

Label1.Text = Format(Now, "General Date")
The  Format (Now, “General date”) -> Formats the current date and time.

So add this function after the sendmsg button in your code.
and you can set it in a label so it will save the time of the sent message.

Hope this solution will help you and please let me know if you need anything else.
Kind regards,

Related Questions