On Wed, Oct 12, 2011 at 9:08 AM, Steffen Mangold
<steffen.mang...@balticsd.de> wrote:
>
> Igor Tandetnik wrote:
>
>>What's DateTimeOffset? Offset from what to what? What exactly are you trying 
>>to achieve?
>>See if this helps: http://www.sqlite.org/lang_datefunc.html
>
> In C# (.Net) it is the type Timespan.
> I want to save a timespan in the DB and get an TimeSpan object in .Net out of 
> the DB.

I don't know C#, but quick look at Microsoft's documentation shows
that you can get Ticks() from TimeSpan, save it into DB and then when
you get Int64 from DB you can create TimeSpan from it.


Pavel
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to