FAQ/How-to-calculate-difference-between-dates.md
... ...
@@ -1,24 +0,0 @@
1
-#How to calculate difference between dates?
2
-
3
-[[_TOC_]]
4
-
5
-###Find the difference between two dates
6
-
7
-The difference between two dates can be calculated using the simple Arithmetic feature in the Report Designer.
8
-Select the two dates you want to use. In our sample below we use ShippedDate and OrderDate. Then select the "minus" sign ([-]) in the arithmetic column (labeled "A") for the second date. The result of this expression will be the difference between the two dates in days.
9
-
10
-*Note: By default the result is an integer, number of days, but you can also set specified decimal places. Use DateArithmeticDecimalPlaces to do this.*
11
-
12
-```c#
13
-AdHocSettings.DateArithmeticDecimalPlaces = 3;
14
-```
15
-
16
-Please see the following simple example of date arithmetic use:
17
-
18
-![](http://wiki.izenda.us/FAQ/FAQ/date_difference_example.png)
19
-
20
-Here we establish our report fields. Note how the (-) operator is selected on the last "OrderDate" field and the field preceeding it will be named "Shipping Time(Days)".
21
-
22
-![](http://wiki.izenda.us/FAQ/FAQ/date_difference_results.png)
23
-
24
-We can see that our data has appeared as we wanted it in our preview.
... ...
\ No newline at end of file
FAQ/Questions/How-to-calculate-difference-between-dates.md
... ...
@@ -0,0 +1,24 @@
1
+#How to calculate difference between dates?
2
+
3
+[[_TOC_]]
4
+
5
+###Find the difference between two dates
6
+
7
+The difference between two dates can be calculated using the simple Arithmetic feature in the Report Designer.
8
+Select the two dates you want to use. In our sample below we use ShippedDate and OrderDate. Then select the "minus" sign ([-]) in the arithmetic column (labeled "A") for the second date. The result of this expression will be the difference between the two dates in days.
9
+
10
+*Note: By default the result is an integer, number of days, but you can also set specified decimal places. Use DateArithmeticDecimalPlaces to do this.*
11
+
12
+```c#
13
+AdHocSettings.DateArithmeticDecimalPlaces = 3;
14
+```
15
+
16
+Please see the following simple example of date arithmetic use:
17
+
18
+![](http://wiki.izenda.us/FAQ/FAQ/date_difference_example.png)
19
+
20
+Here we establish our report fields. Note how the (-) operator is selected on the last "OrderDate" field and the field preceeding it will be named "Shipping Time(Days)".
21
+
22
+![](http://wiki.izenda.us/FAQ/FAQ/date_difference_results.png)
23
+
24
+We can see that our data has appeared as we wanted it in our preview.
... ...
\ No newline at end of file