Creating a kdb+ timestamp¶
The kdb+ C# API has a special type to represent timestamps, c.KTimespan. The example below shows have you can construct a timestamp using a TimeSpan object.
TimeSpan ts = TimeSpan.FromMinutes(25);
c.KTimespan kdbTimespan = new c.KTimespan(100*ts.Ticks)
This would arrive in kdb+ as
0D00:25:00.000000000