Hi Albert,
The code below should give you timestamp with milliseconds and it's independent of any date/time settings.
d_updated = TRANSFORM(TTOC(DATETIME(),1), "@R XXXX-XX-XX XX:XX:XX") + STR(SECONDS()%1,4,3)
>Thank you for your quick answer. (even on cristmas)
>d_updated = datetime() works from the ide and from the exe, but than i have an timestamp without
>milliseconds. (2004-12-28 14:12:17.0000)
>I need the milliseconds because the applications is heavily used (400-500 parallel onlineusers)
>With my (stupid?) way of building a timestamp string i have milliseconds!
>
>My problem is, that i can't find the difference between executing the form form the ide (everythings works as expected, no errors) and executing it from an exe (format error) ?????????????????
>
--sb--