home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1374.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.0 KB  |  89 lines

  1. 99
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SetSystemTime 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSetSystemTime sets the current time/date.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baSetSystemTime( Format, NewTime )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, string. 
  36. --- RECORDSEPARATOR ---
  37. Format is the time/date format to set. Can be either "time" or "date". 
  38. --- RECORDSEPARATOR ---
  39. NewTime is the time/date to set.
  40. --- RECORDSEPARATOR ---
  41.  
  42. --- RECORDSEPARATOR ---
  43. Returns:
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. Integer. 
  48. --- RECORDSEPARATOR ---
  49. Returns 1 if successful, otherwise 0.
  50. --- RECORDSEPARATOR ---
  51.  
  52. --- RECORDSEPARATOR ---
  53. Examples:
  54. --- RECORDSEPARATOR ---
  55.  
  56. --- RECORDSEPARATOR ---
  57. Director: 
  58. --- RECORDSEPARATOR ---
  59. set ok = baSetSystemTime( "date", "19980523" ) - sets the date to 23 June 1998 
  60. --- RECORDSEPARATOR ---
  61. Authorware: 
  62. --- RECORDSEPARATOR ---
  63. ok := baSetSystemTime( "time", "102300" ) - sets the time to 23 past 10
  64. --- RECORDSEPARATOR ---
  65.  
  66. --- RECORDSEPARATOR ---
  67. Notes:
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. The format for the time or date must be as follows: 
  72. --- RECORDSEPARATOR ---
  73. "time" is in 24 hour format with leading zeros - hours, minutes and seconds and 
  74. --- RECORDSEPARATOR ---
  75. must be 6 characters 
  76. --- RECORDSEPARATOR ---
  77. "date"  is in year, month, day with leading zeros and must be 8 characters long, 
  78. --- RECORDSEPARATOR ---
  79. The "date" and "time" formats are the same as those returned by baSystemTime. 
  80. --- RECORDSEPARATOR ---
  81. This function does not work on OSX.
  82. --- RECORDSEPARATOR ---
  83.  
  84. --- RECORDSEPARATOR ---
  85. See also:
  86. --- RECORDSEPARATOR ---
  87.  
  88. --- RECORDSEPARATOR ---
  89. baSystemTime