Answers for "format date and time inside v-data-table"

1

v-data-table format date

<v-data-table :headers="headers" :items="logs">
         <template v-slot:item.createdOn="{ item }">
           <span>{{new Date(item.createdOn).toLocaleString()}}</span>
         </template>
      </v-data-table>
Posted by: Guest on August-12-2020

Code answers related to "format date and time inside v-data-table"

Browse Popular Code Answers by Language