In VB6, I can format a date string like the following:
format("12/15/06","yymmdd") and it returns 061215.
In VB.Net, when I do the following:
sdate.tostring( "yymmdd"), it gave me an error "Value of type string
cannot be converted to 'System.IFormat Provider'
How can I do it in VB.NET ?
Thanks.
format("12/15/06","yymmdd") and it returns 061215.
In VB.Net, when I do the following:
sdate.tostring( "yymmdd"), it gave me an error "Value of type string
cannot be converted to 'System.IFormat Provider'
How can I do it in VB.NET ?
Thanks.
Comment