Time variable on Catalog request form

Madhu27
Tera Expert

Hi,

I would like to ask the user to to enter work schedule time from Monday - Saturday on catalog form. I need time variable like   00:00 am/pm. But I could not find it in the variable list. I see Date and Date/Time variables only. Could you please suggest in any other way we can do this?

Thanks

17 REPLIES 17

vams1
Tera Contributor

Hello Ankur,

 

I tried to create the same but its is not working ,

can you please help me to achive this 

i have Varible called Notification end Time(data/time --type varible) ---portal should allow only Time and shoud not allow date on the same .

Amardeep2
Tera Contributor

I have a similar requirement. I have tried this but it is not working.  Can you help or suggest over this?

Hendrik Odendaa
ServiceNow Employee
ServiceNow Employee

You could possibly use the duration variable and add the variable attribute: max_unit=hours

This will show a variable that looks like this (can't easily get rid of the seconds though):

HendrikOdendaa_0-1704981159784.png