bakershawnm
Programmer
I have been using Visio 2003 off and on for about 7 months now. I have asked a couple of questions that have gone unanswered. I'm hoping to get a better response from this one.
I am trying to extract information from a SQL data base. I link my master to the table and do all the things right. When I link to the table the default data type for most of the fields is string. Not problem there, I can change that in the custom properties. However the Date/Time fromat that I am getting from SQL are in seperate fields and look something like this:
2007-10-10 00:00:00.000 for a date
1900-01-01 14:15:23.000 for a time
Since this is not a standard recognized date/time format for Visio, I cannot get anything unless I leave the data type as a string.
Anybody have any easy/quick code that I can use to parse this string into a real date and time? Or maybe another solution to my dilema?
Thanks
I am trying to extract information from a SQL data base. I link my master to the table and do all the things right. When I link to the table the default data type for most of the fields is string. Not problem there, I can change that in the custom properties. However the Date/Time fromat that I am getting from SQL are in seperate fields and look something like this:
2007-10-10 00:00:00.000 for a date
1900-01-01 14:15:23.000 for a time
Since this is not a standard recognized date/time format for Visio, I cannot get anything unless I leave the data type as a string.
Anybody have any easy/quick code that I can use to parse this string into a real date and time? Or maybe another solution to my dilema?
Thanks