skuid.time.getSFDate - read only Date field

  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Hi skuid.time.getSFDate() does not work with the new read only date field. Any other methods to convert SKuid date (yyyy-mm-dd) to SDFC date format in user's profile? Thanks.
Photo of Janet

Janet

  • 486 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
I'm pretty sure that the DateTime field is generating a JS date.  You should be able to use  the skuid.time function: getSFDate( jsDate )
Photo of Janet

Janet

  • 486 Points 250 badge 2x thumb
Thanks. I used skuid.time.parseSFDate on the field and then use Date.Value of. That seems to work.