ToTime()
ToTime()
Definition
Calculates an integer value representing a time.
Integer representation of time is in the format Hmmss where 7:30 AM would be 73000 and 2:15:12 PM would be 141512.
Method Return Value
An int value representing a time structure.
Syntax
ToTime(DateTime time)
ToTime(int hour, int minute, int second)
Parameters
NinjaScript uses the .NET DateTime structure which can be complicated for novice programmers. If you are familiar with C# you can directly use DateTime structure properties and methods for date and time comparisons; otherwise, use this method and the ToDay() method.

