What is the equivalent of now in script_score decay function for DATE field

This is the current decay function which i am trying to convert this to script_score decay function. What is the equivalent of "now" which i can use in script_score

"functions": [
                        {
                            "linear": {
                                "date": {
                                    "origin": "now",
                                    "offset": "60d",
                                    "scale": "3590d",
                                    "decay": 0.5
                                }
                            }
                        }]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.