home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / _DateTimeSplit.au3 < prev    next >
Text File  |  2005-01-03  |  221b  |  13 lines

  1. #include <Date.au3>
  2.  
  3. Dim $MyDate
  4. Dim $MyTime
  5. _DateTimeSplit("2005/01/01 14:30",$MyDate,$MyTime)
  6.  
  7. For $x = 1 to $MyDate[0]
  8.     MsgBox(0,$x,$MyDate[$x])
  9. Next
  10. For $x = 1 to $MyTime[0]
  11.     MsgBox(0,$x,$MyTime[$x])
  12. Next
  13.