Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Ajas Mohammed
It would definitely help the group if you show/email the input format and expected/desired result format, i.e. in this case you say, Microsoft LDAP time stamp. On Wed, Aug 21, 2013 at 1:47 AM, Chip Mathers mathersc...@gmail.com wrote: Microsoft LDAP time stamp Ajas Mohammed /

Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Chip Mathers
To answer your question, a Microsoft LDAP or Active Directory time stamp is in nanoseconds and based on time since 1/1/1601. An example would be: 128910259851092856 Which I believe is: {ts '2009-07-02 11:33:00'} I convert this time using some code like so: cfscript tempStamp =

Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Teddy R Payne
Try using PrecisionEvaluate() function for large integer math. Sent from my iPhone On Aug 21, 2013, at 10:24 AM, Chip Mathers mathersc...@gmail.com wrote: To answer your question, a Microsoft LDAP or Active Directory time stamp is in nanoseconds and based on time since 1/1/1601. An example

Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Cameron Childress
On Wed, Aug 21, 2013 at 11:25 AM, Teddy R Payne wrote: Try using PrecisionEvaluate() function for large integer math. I have always said that every CF developer should read through the entire function and tag list at least once a year. you can't remember them all, and often there are outliers

Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Douglas Knudsen
haha, right! Also, could always drop to actual Java code, eh? DK Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Wed, Aug 21, 2013 at 12:06 PM, Cameron Childress camer...@gmail.comwrote: On Wed, Aug 21, 2013 at 11:25 AM, Teddy R Payne wrote: Try using

Re: [ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-21 Thread Ajas Mohammed
On Wed, Aug 21, 2013 at 12:06 PM, Cameron Childress camer...@gmail.comwrote: PrecisionEvaluate() Good point. When I first got the CF WACK books and saw the entire list of functionals/tags available, I said, I will read one/three in a week and that way I would have covered everything in few

[ACFUG Discuss] Coldfuison date to LDAP timestamp

2013-08-20 Thread Chip Mathers
I have googled and googled this question for the last few weeks and tried everything I can think of, but I keep striking out. I'm trying to figure out how to take a standard CF time stamp and turn it into a Microsoft LDAP time stamp. I see a lot of posts on the web regarding going the other