G
Guest
I have a user whose Regional Short Date Format is "MM/dd/yy"
When I fill a DataTable with the values from an Access table, the Date
columns will contain the date like ""04/26/67 12:00:00 AM"
I need to display the dates to the user as MM/dd/yyyy so I format it like
cdate(ds.tables(0).rows(0).item("birthdate").tostring).ToString("MM/dd/yyyy")
The problem is that since the century is not in the column's value, years
like 2964 will be formatted as 1964.
So... I think my question would be
How do I get the century information into a datatable when the user's
Regional Short Date Format is "MM/dd/yy"
When I fill a DataTable with the values from an Access table, the Date
columns will contain the date like ""04/26/67 12:00:00 AM"
I need to display the dates to the user as MM/dd/yyyy so I format it like
cdate(ds.tables(0).rows(0).item("birthdate").tostring).ToString("MM/dd/yyyy")
The problem is that since the century is not in the column's value, years
like 2964 will be formatted as 1964.
So... I think my question would be
How do I get the century information into a datatable when the user's
Regional Short Date Format is "MM/dd/yy"