how about IConfig.GetDate?
it takes me quite a few lines to parse a date from a string, so I want a built-in GetDate function
Logged In: YES user_id=163900
There are so many factors involved in extracting a date value that this one might not be possible.
Just take a look at DateTime.Parse: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatetimeclassparsetopic.asp
...and DateTime.ParseExact: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatetimeclassparseexacttopic.asp
I'll evaluate this further but I just don't think it's feasible.
Log in to post a comment.
Logged In: YES
user_id=163900
There are so many factors involved in extracting a date
value that this one might not be possible.
Just take a look at DateTime.Parse:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatetimeclassparsetopic.asp
...and DateTime.ParseExact:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatetimeclassparseexacttopic.asp
I'll evaluate this further but I just don't think it's
feasible.