Howt to validate the time and Date format in vb.net?

Posted by Vforvijay under VB.NET on 3/17/2011 | Points: 10 | Views : 4312 | Status : [Member] | Replies : 1
hi..How to validate the format of date and time in vb.net?




Responses

Posted by: SheoNarayan on: 3/18/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
To validate the date time format, you need to convert them in your current culture (server), read this code snippet http://www.dotnetfunda.com/codes/code348-how-to-convert-us-date-time-to-uk-datetime-and-vice-versa.aspx, to understand it in more details read http://msdn.microsoft.com/en-us/library/9h21f14e.aspx.

Use this Telerik converter to convert your code from C# to VB.NET http://converter.telerik.com/

Thanks!

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response