[wx-dev] Can't read/write timestamp fields from/to a SQL Server database, please help

Jorgen Bodde solidstl at xs4all.nl
Tue Jul 4 05:15:15 PDT 2006


I used to parse the time from a string back to a wxDateTime. Another
option is getting a wxTimeSpan object based upon the year 0, and upon
retrieval from the database, construct this again as a new date. The
wxTimeSpan returns a wxLongLong which should be accurate enough.

- Jorgen

On 7/4/06, Alfonso De Prisco <adeprisco at almateq.com> wrote:
> How do I manage a timestamp (or datetime) field in a SQL Server database?
> The timestamp type only works with MySQL but not with SQL.
>
> Is this a wx bug?
>
> Alfonso
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
>




More information about the wx-dev mailing list