G
Guest
Hi;
I would like to format a date like this this mmddyy.
I am reading records from a table using the ado.net reader
The dates vary in their length i.e. the day can be either one or two digits
and
the same is true for the month.
I tired the formatDateTime() like :
formatDateTime(rdr2.getvalue(7), dateformat.ShortDate) which yields
mmddyyyy.
The final result that I am looking for is mmddyy.
Do I need a custom date format instead of dateformat.ShortDate ?
Thanks for any insights,
I would like to format a date like this this mmddyy.
I am reading records from a table using the ado.net reader
The dates vary in their length i.e. the day can be either one or two digits
and
the same is true for the month.
I tired the formatDateTime() like :
formatDateTime(rdr2.getvalue(7), dateformat.ShortDate) which yields
mmddyyyy.
The final result that I am looking for is mmddyy.
Do I need a custom date format instead of dateformat.ShortDate ?
Thanks for any insights,