How to use Date.now + in mongoose for half an hour?

    createdTime: {type: Date, required: true, default: Date.now},
    //  +30
    endTime: {type: Date, required: true, default: Date.now + }

how to implement Date.now + for half an hour

Mar.07,2021

moment.js


default: () = > Date.now () + 30,60,60,1000

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45e78-44b68.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45e78-44b68.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?