cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use the is_valid_time function in BODS?

former_member275081
Discoverer
0 Kudos

I am using is_valid_time function to validate a string. The function detects the string as time only when the string is less than 051300. For example when the input is '051500' the function below returns 0.

The function: is_valid_time('051500','HHMMSS')

View Entire Topic
former_member186894
Participant
0 Kudos

is_valid_time('051500','HHMMSS') is false so it would return 0. where is_valid_time('051100','HHMMSS') is true so it would return 1.

Thanks,

Imran