Core APIs
DateTime
Difference between two dates
2 min
returns the difference in minutes between two given dates there are multiple functions under this definition defined in the table below function path description /diffminutes returns the difference in minutes between two dates /diffhours returns the difference in hours between two dates /diffmonths returns the difference in months between two dates /diffdays returns the difference in days between two dates api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/diffdays", "name" "date difference api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \\"1\\"\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n\t\\"input\\" \\"2009 09 01\\",\r\n\t\\"second date\\" \\"2009 09 02\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }