Description
Contains the default functions and procedures.
Remarks
The IsahBase Object does not have to be created explicitly in Isah Script. This all takes place in the background. The IsahBase Object procedures and functions are therefore directly accessible in all scripts.
Properties, Procedures and Functions
Function IsahDateToStr( Year: Integer, Month: Integer, Day: Integer ): String
Function IsahDateToStr( Date: Date ): String
Function IsahDBDate( Year: Integer, Month: Integer, Day: Integer ): String
Procedure IsahDecodeDate( Date: DateTime, Var Year: Integer, Var Month: Integer, Var Day: Integer ): String
Procedure IsahDecodeTime( Date: DateTime, Var Hours: Integer, Var Minutes: Integer, Var Seconds: Integer, Var MilliSeconds: Integer ): String
Function IsahEncodeDate( Year: Integer, Month: Integer, Day: Integer ): Date
Function IsahEncodeTime( Hours: Integer, Minutes: Integer, Seconds: Integer, MSeconds: Integer ): Time
Procedure IsahStrToDate( Var Date: DateTime, Hours: Integer, Minutes: Integer, Seconds: Integer, MilliSeconds: Integer ): String
Function IsahValidDate( Date: String ): Date
Function IsahDate( Days: Integer ): Date
Function IsahDateToWeek( Date: Date ): String
Example
sub main()
Dim D
Dim Year
Dim Month
Dim Day
D = IsahEncodeDate(2000, 10, 12)
MsgBox D
IsahDecodeDate D, Year,Month,Day
MsgBox Year & "" & Month & "" & Day
D = IsahEncodeDate(Year, Month, Day)
MsgBox D
end sub