View Single Post
  #2 (permalink)  
Old 02-26-2008, 11:03 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,883
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Have a play with this. See if it does what you need?

EDIT :- the dates and times are a string. In case it is not obvious get the ticks value by :-
Code:
  Dim dt(2) ' in globals

  ...

  DateFormat = "dd/mm/yyyy" ' for those of us for whom the defaults fail
  TimeFormat = "hh:mm:ss"
  dt() = StrSplit(info(4)," ")
  d = DateParse(dt(0)) + TimeParse(dt(1)) Mod cTicksperday
  '  "mod" because the current date is included by TimeParse
Attached Files
File Type: zip FilesEx1.0.zip (2.2 KB, 22 views)

Last edited by agraham : 02-26-2008 at 11:49 AM.
Reply With Quote