__avd
Posting Genius (adatapost)
8,736 posts since Oct 2008
Reputation Points: 2,141
Solved Threads: 1,262
Skill Endorsements: 50
Why go through all the variable manipulation:
Public Shared Function getCurrentDateTimeString() As String ' Returns current date and time in this format: "yyyyMMddHHmmssff"
return DateTime.Now.ToString("yyyyMMddHHmmssff"
End Function
Momerath
Senior Poster
3,728 posts since Aug 2010
Reputation Points: 1,322
Solved Threads: 624
Skill Endorsements: 12
I like to do things the long way for beginners, the code is simple but there is more of it, just feel you'll learn more about the language, syntax etc from 6 lines of code rather than 3, personal preference i guess :)
- Jordan
JJCollins
Junior Poster in Training
67 posts since Sep 2010
Reputation Points: 14
Solved Threads: 10
Skill Endorsements: 0
This is the wrong forum for C / C++ / Java my friend, a post in the appropriate forum would be better for you
- Jordan
JJCollins
Junior Poster in Training
67 posts since Sep 2010
Reputation Points: 14
Solved Threads: 10
Skill Endorsements: 0