How to save text ,date and time at the same time ??
Hi guys.. I am doing my school on project on rs 232. it involoves VB. I have found out how to save text in .txt file in the code. But i have no idea when i save this particular text for instance with time and date oso..
For example my i can do this.
I want to save " Hi i am VIJAY "
when i open the text file i can see " Hi i am VIJAY"
But what i want is
When i open the text file i want to see " Hi i am VIJAY 10:35 24/01/2010 "
is there any help i can find ?
Re: How to save text ,date and time at the same time ??
when you write text to the File add this to the string you are writing
Code:
Writeline("Hello" & Now.ToString)
Re: How to save text ,date and time at the same time ??
Sure. Where do you wish to save it from?
Re: How to save text ,date and time at the same time ??
Duplicate threads merged - please post each question (or variation of it) only once.