|
| | |
|
Example 1
|
|
Example 2 |
DateTimeDiff("20120103091530", "20120103091550", "S")
Result = 20 |
|
DateTimeDiff("20120103091530", "20120103091550", "D")
Result = 0 |
|
|
|
Example 3 |
|
Example 4 |
DateTimeDiff("20120103091550", "20120103091530", "S")
Result = 20 |
|
DateTimeDiff("20120103091530", "20120103091550", "HHMMSS")
Result = 000020 |
- If the Return Type is a unit greater than the actual difference between Date Time 1 and Date Time 1, the result will be 0
- If Date Time 1 is later than Date Time 2, the parameters order is inverted in runtime. Therefore, the result of this function will never be preceded by minus sign.
|
Updated: 10/24/2016 2:53 PM |
| |
|
|
|