You can use floor() operation to return the largest integer less than or equal to the calculated value.
{
"elmType": "div",
"txtContent": {
"operator": "floor",
"operands": [
{
"operator": "/",
"operands": [
{
"operator": "-",
"operands": [
"=Number('@now')",
"=Number('[$ExpirationDate]')"
]
},
86400000
]
}
]
}
}
Here is the test result:
Reference: Use column formatting to customize SharePoint.
If an Answer is helpful, please click "Accept Answer" and upvote it.
**Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **