Forum Discussion
WallaceYeboah
5 years agoQrew Member
Actually disregard that last message. Its working now. Thanks a lot!
------------------------------
Wallace Yeboah
------------------------------
------------------------------
Wallace Yeboah
------------------------------
CourtneahThomas
5 years agoQrew Trainee
Wallace Yeboah, how did you get it to work? I am getting an error message on the last line that says "expecting text but found time of day"
------------------------------
Courtneah Thomas
------------------------------
------------------------------
Courtneah Thomas
------------------------------
- KevinHaigler5 years agoQrew MemberHi Courtneah,
the ToTimeOfDay function will convert the return to a time of day data type, if your formula is expecting text, then your field type is formula-text. You can either update this to Date/Time, or use one of the other conversion functions (ToText). Though I'm not sure what kind of display you'll get converting this to text.
I'd recommend changing your field type to Date/Time or Duration depending on your use case.
------------------------------
Kevin Haigler
------------------------------