Core APIs
DateTime
Add units to Date
2 min
adds number of units to a given date there are multiple functions under this definition defined in the table below give a negative value in "by" to execute a subtraction function path description /adddminutes adds minutes to the given date /adddays adds days to the given date /addmonths adds months to the given date /addyears adds years to the given date api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/addminutes", "name" "add api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "\\"output\\" {\n \\"year\\" 2020,\n \\"month\\" 1,\n \\"day\\" 20,\n \\"dayofweek\\" 1,\n \\"dayofyear\\" 20,\n \\"hour\\" 5,\n \\"hour12\\" 5,\n \\"minute\\" 0,\n \\"iso\\" \\"2020 01 20t05 00 00z\\",\n \\"dateiso\\" \\"2020 01 20\\",\n \\"posixseconds\\" 1579496400,\n \\"posixmilliseconds\\" 1579496400000,\n \\"ampn\\" \\"am\\",\n \\"monthname\\" \\"jan\\"\n }", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n\t\\"input\\" \\"2020 01 20t10 30\\",\r\n\t\\"ny\\" \\" 330\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }