I have tried everything i know to get this to work: we have a date field th

I have tried everything i know to get this to work:
we have a date field that is defaulted to today() or user can select what date they want. it displays great, saves to the DB correctly.
But when it is pulled back from the DB it is 2 days off and will display 2 days off is there anything that can get this to display with the original date. Code Example below: And this is a DATE field not a DateTime. Thanks in Advance

Users Input field
a!dateField(
label: "Effective Date",
labelPosition: "ADJACENT",
required: true,
readOnly: false,
value: if(rule!APN_isBlank(ri!LTR_Processing_Cdt.effectiveDate),today(),ri!LTR_Processing_Cdt.effectiveDate),
saveInto: ri!LTR_Processing_Cdt.effectiveDate,
validations: if(
          ri!LTR_Processing_Cdt.effectiveDate > today(),
          "Date entered must be less than today",
          if(
           ri!LTR_Processing_Cdt.effectiveDate < today() - 180,
           "Date entered must be greater then the past 6 months",
           null
          )
)
...

OriginalPostID-185910

OriginalPostID-185910

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data