none
Convert rest api date to standard format date using spfx solution RRS feed

  • Question

  • Hi All,
    I am retrieving data from the SharePoint list, one of the columns is data request access via the rest API is date column.
    Is returning a UTC date, I was trying to use Typescript with momentjs.
    Still returning UTC date, any help I appreciate it.

    moment().format('DD-MMM-YYYY');
    
    import moment from 'moment';


    Abenet

    Tuesday, September 29, 2020 4:06 PM

Answers