Setting Correct Liquidty Lock Value

Hi, I am deploying a test contract and want to know what values i should enter to set the liquidity lock to either 7 days and 30 days. I need to input a numerical value in uint256 format. Can someone please help. Thank You

function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = now + time;
        emit OwnershipTransferred(_owner, address(0));
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You can't unlock");
        require(now > _lockTime , "Contract is locked");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;