C
Chris
Hi,
I need to generate IDs for entries and I would Like to have it in the
format
MMDDYYYHHMMTTMS-RANDOM NUMBER
I am using the following to generate the random number
Threading.Thread.Sleep(1)
Dim rnd As New Random((CInt(DateTime.Now.Millisecond)))
GenerateTransactionID = rnd.Next().ToString()
Return GenerateTransactionID
How can I get the datetime in the format MMDDYYYHHMMTTMS?
Thanks
I need to generate IDs for entries and I would Like to have it in the
format
MMDDYYYHHMMTTMS-RANDOM NUMBER
I am using the following to generate the random number
Threading.Thread.Sleep(1)
Dim rnd As New Random((CInt(DateTime.Now.Millisecond)))
GenerateTransactionID = rnd.Next().ToString()
Return GenerateTransactionID
How can I get the datetime in the format MMDDYYYHHMMTTMS?
Thanks