View Single Post
  #6 (permalink)  
Old 09-19-2008, 08:55 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 15,614
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This code should work:
Code:
Sub App_Start
    task1.New1
    task1.CreateNew
    Task1.StartDate = DateParse(
"09/20/2008"
    
Msgbox("Date: " & Date(task1.StartDate))
End Sub
There is a mistake in the example from the manual.
StartDate and DueDate resolution is whole days only. You can't change the time.

Last edited by Erel : 09-19-2008 at 10:42 AM. Reason: Typo error: You can't change the time.
Reply With Quote