{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
ToTime
ToTime will try to interpret the timeString with the given pattern. If it fails to create a time for that string the function time(timeString) will be called to try to create a date object with the patterns these function uses. If the timeString is null then null will be returned. If the pattern is null or empty only time(//timeString//) will be called.
Usage:
ToTime( timeString, pattern )
Parameters:
timeString | The string that represents the time which should be interpreted with the given pattern. |
---|---|
pattern | The pattern with which the given timeString should be interpreted. The definition for the patterns allowed can be found here. |
Returns:
Time
Examples:
toTime( '11:34:56', 'hh:mm:ss') -> Returns a time value for AM 11 o'clock 34 minutes and 56 seconds .