Re: Converting timeticks

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dr John Stockton (spam_at_merlyn.demon.co.uk)
Date: 03/26/05


Date: Sat, 26 Mar 2005 14:45:11 +0000

JRS: In article <OjuncOXMFHA.2136@TK2MSFTNGP14.phx.gbl>, dated Fri, 25
Mar 2005 14:48:24, seen in news:microsoft.public.scripting.vbscript,
Michael Riggio <spam.michael.spam.riggio@spam.unisys.spam.com.spam>
posted :

> I need to convert some old Java code that performs timeticks
>conversions to vbscript.

An explanation in English would be more understandable than one in Java.

If your need is for 0..+2147483647 -2147483648..-1
to become 0..+2147483647 +2147483648..+4294967295
then the easiest way should be one based on

        result = timeticks xor 0x8000000 ;
 

-- 
 © John Stockton, Surrey, UK.  ?@merlyn.demon.co.uk   Turnpike v4.00   IE 4 ©
 <URL:http://www.jibbering.com/faq/>  JL/RC: FAQ of news:comp.lang.javascript 
 <URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
 <URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.


Relevant Pages

  • Re: An explanation for 1290, 1335, 2300 days in Daniel and 1260 days in Revelation
    ... For 17 years they used a calendar "in ... Usenet is full of examples of that in modern English; ... Bibles I grew up with came to get farther and farther from the truth. ... Thiering's explanation is the simple one, ...
    (soc.religion.quaker)
  • Re: Games and Playing Styles
    ... ::: my writing. ... :: It doesn't, huh? ... How about an explanation of your argument in English for the simple ...
    (rec.games.board)
  • =?UTF-8?B?UmU6IOOBryvjgYwgdnMuIOOBrivjga8=?=
    ... >> muchan wrote: ... >>> and the 3rd lines show the normal translation in English.) ... >> The 2nd lines are better English. ... > I was about to write an explanation to this guy about how the ...
    (sci.lang.japan)
  • Re: can I sort colored cells?
    ... The explanation was short and clear. ... No problem with your English too. ... > If you sort on the B column, the A column is sorted too... ... >> Thanks Patrick, ...
    (microsoft.public.excel.programming)
  • Re: english is unstructured?
    ... does you explanation cover all other examples as well? ... In English the syllable stress ... 'Arthurian' is 'ArTHURian'. ...
    (alt.usage.english)