We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60389da commit 34e4082Copy full SHA for 34e4082
Server-Side Components/GlideDateTime/DateCalculations/DateDifference/README.md
@@ -0,0 +1,12 @@
1
+# Date Difference Snippet
2
+
3
+**Author:** Harish
4
+**Category:** GlideDateTime / Date Calculations
5
+**Use Case:** Calculate the difference in days between two date/time values.
6
7
+## Description
8
+This snippet uses `GlideDateTime` and `gs.dateDiff()` to calculate the number of days between two given date/time strings.
9
10
+## Example
11
+```js
12
+gs.info(getDateDifferenceInDays('2025-10-01 00:00:00', '2025-10-16 00:00:00'));
0 commit comments