Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special datetime function needed
Message
From
09/01/2007 02:51:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/01/2007 02:41:03
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01183702
Message ID:
01183706
Views:
22
Albert,

Guten Morgen.
?DATETIME(2007,07,15,23,59)-DATETIME(1601,1,1)*10^7
will return time since 1.1.1601 0:00 in 100 nanos

Agnes
>Hello Everybody
>
>I have to set the accountexpires value in our active directory.
>I get the date, when a person will leave our company(25000 employees) from a SAP System.
>I found this in MSDN:
>The value in the AD "represents the number of 100 nanosecond intervals since January 1, 1601" !!!???
>
>For example:
>If a person leaves our company at 15th of july 2007, i want to calculate the needed value for 15.07.2007 (german date) 23:59:00
>But no idear ???????????
>
>Any help welcomed
>Best regards
>Albert
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform