BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Date and Time data type

    Posted Fri July 24, 2020 06:10 AM

    Hi everyone, 

    Has any of you have experienced work with time data type in bpm/baw? We used date type for Date control but I don't know when we use the Time one. What exactly different things between them? They are the only different from each other about the validation format?

    Thanks,



    ------------------------------
    Tung Nguyen
    ------------------------------


  • 2.  RE: Date and Time data type

    Posted Fri July 24, 2020 11:22 AM
    Hi Tung,

    The Date control is now deprecated.  All Coaches should be updated to use the Date Time control, as there were some fixes implemented in this control that were not in the Date control.  The Date control really still uses a Date+time type with the time set to something like 8 o'clock.  I would recommend using the Date Time control, and evaluating the time in the On Change event.  Even if you do not configure the time component to be displayed, the time is set to 0 o'clock (or midnight) behind the scenes.  I have found this to cause issues with servers in different time zones, have to use the .setHours() method to adjust user entry on the back end.

    ------------------------------
    Stephen Perez
    ------------------------------