home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,156 of 68,980   
   Dr J R Stockton to All   
   Re: WSH VBS question   
   12 Feb 18 11:08:56   
   
   From: J.R.Stockton@physics.org   
      
   On Monday, February 12, 2018 at 3:31:20 PM UTC, JJ wrote:   
   > On Sun, 11 Feb 2018 02:57:21 -0800 (PST), Dr J R Stockton wrote:   
   > > On Saturday, February 10, 2018 at 11:56:05 AM UTC, JJ wrote:   
   > >> On Sat, 10 Feb 2018 02:47:42 -0800 (PST), Dr J R Stockton wrote:   
   > >>>   
   > >>> My question to you was 'how does one get the "IEEE date"' (which you   
   > >>> cited); I don't need to be told how to deal with it - provided that it is   
   > >>> indeed independent of locality.  And I want to get it by using VBScript.   
   > >>   
   > >> That's entirely depend on your source of data. The CDate function is for   
   > >> handling IEEE date value which isn't compatible with VB. VB's date format   
   > >> itself is not IEEE date format. VB also has no built in function for   
   > >> creating IEEE dates.   
   > >   
   > > Have you anything useful to say, such as might answer my questions?   
   >   
   > OK, then give me an example of the date you want to work with.   
      
   Ideally, UTC noon on all dates within the CDate range, which as I recall   
   includes the years 0100 to 9999.  All dates within 2018 to 2022 will at   
   present suffice, as would  CDate(43100) to CDate(43100+1830).   
      
   This must be done with VBScript called by WSH in a batch file.  Alternatively,   
   I could use local noon for those dated and somehow find the corresponding UTC   
   Date/Time or time_t in any reasonable format (or in FFF).   
      
   --   
     (c) John Stockton, near London, UK.  Using Google Groups.           |   
    Mail: J.R.""""""""@physics.org - or as Reply-To, if any.             |   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca