<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>9 Feb 2017 08:14:42 Z</lastBuildDate><pubDate>9 Feb 2017 08:14:42 Z</pubDate><description>Windev always set milliseconds to 000:&#13;
&#13;
[code:wl]&#13;
HReset(UserLog) &#13;
UserLog.Datum=SysDateTime() &#13;
HAdd(UserLog)&#13;
[/code]&#13;
&#13;
Result in db: 2017-02-08 07:35:17.000, the milliseconds always set to 000&#13;
&#13;
Same when I use a windev query:&#13;
[code:wl]&#13;
INSERT INTO UserLog&#13;
   ( &#13;
      UNT_ID,   &#13;
      Datum&#13;
   )&#13;
VALUES&#13;
   ( &#13;
      {ParamUNT_ID},   &#13;
      current_timestamp&#13;
    )&#13;
[/code]&#13;
&#13;
When i use MS management studio all works fine:&#13;
[code:sql]&#13;
INSERT INTO UserLog&#13;
   ( &#13;
      UNT_ID,   &#13;
      Datum&#13;
   )&#13;
VALUES&#13;
   ( &#13;
      0,   &#13;
      current_timestamp&#13;
    )&#13;
[/code] &#13;
&#13;
result in db is correct: 2017-02-08 07:37:44.577</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60656-could-not-save-milliseconds-sql/read.awp</link><title>Could not save milliseconds to MS SQL</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
