Experts Exchange connects you with the people and services you need so you can get back to work.
' Get date now
Dim dispDt As DateTime = DateTime.Now
' Set up a date time format
Public Shared datePatt As String = "M/d/yyyy hh:mm:ss tt"
Dim strDate As String
'Turn date/time into string using patter defined
strDate = dispDt.ToString(datePatt)
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.