Field Service

Get Involved. Join the Conversation.

Topic

    Lakshmi Suvarchala Sarva
    Custom Date PropertyAnswered
    Topic posted February 27, 2017 by Lakshmi Suvarchala SarvaRed Ribbon: 250+ Points 
    183 Views, 5 Comments
    Title:
    Custom Date Property
    Content:

    Hi,

    Is it possible to create custom date & time property  in "mm-dd-yyyy hh:mm:ss" format in Oracle Field Service Cloud

    I tried using regular expression but didn't work

    Can anyone help me in this..

     

    Version:
    Oracle Field Service Cloud

    Best Comment

    Hardik Gupta

    Hi Lakshmi,

    I am using regular expression for the time HH:MM

    Regex : /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/

    It works perfectly fine. You can use the above as reference and extend it.

    Also Anurag, Even I am not able to open the link. If you can paste the content it will be great.

    As far a I am aware we have to use the String property and write Regex to achieve it.

    Regards,

    Hardik Gupta

    Comment

     

    • Anurag Mittal

      Hi Lakshmi,

      You can use configuration setting to change date time format. Here refer this article for detail info. 

    • Lakshmi Suvarchala Sarva

      Sorry Anurag, I am not able to open link "article" (Getting an error page).

       

    • Hardik Gupta

      Hi Lakshmi,

      I am using regular expression for the time HH:MM

      Regex : /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/

      It works perfectly fine. You can use the above as reference and extend it.

      Also Anurag, Even I am not able to open the link. If you can paste the content it will be great.

      As far a I am aware we have to use the String property and write Regex to achieve it.

      Regards,

      Hardik Gupta

    • Lakshmi Suvarchala Sarva

       I extended the regex and it worked. Thank you Hardik.

      Can we include calendar instead of regex format near that custom date property

    • Anurag Mittal

      Lakshmi/Hardik,

      My bad, i did not look properly to your post i thought its for Oracle service cloud but it was meant for field service cloud.