Skip to main content
I currently have a date/time field name Action_Date__c and I need to get in the YYYY-MM-DD-HH.MM.SS.
2 respuestas
  1. 26 ago 2015, 16:09
    Is this for display - if so, you can try creating a text formula field and manually populating the field.

     

    or is this for API calls - if so you can use the format function like

     

    system.now().format('yyyy-MM-dd\'T\'hh:mm:ss\'Z\'')

     

    Thx
0/9000