Skip to content

Commit 3ef35a4

Browse files
authored
Add note about ticks() correct return value
1 parent 2454ce2 commit 3ef35a4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4103,8 +4103,13 @@ And return these results:
41034103

41044104
### ticks
41054105

4106-
Return the `ticks` property value for a specified timestamp.
4107-
A *tick* is a 100-nanosecond interval.
4106+
Return the `ticks` property value for a specified timestamp. A *tick* is a 100-nanosecond interval.
4107+
4108+
> [!NOTE]
4109+
> Contrary to the function's tooltip description, this function returns the number of 100-nanosecond
4110+
> intervals since January 1, 0001 12:00:00 midnight (or DateTime.Ticks in C#), and *not January 1, 1601*.
4111+
> For more information, see this topic:
4112+
> [DateTime.Ticks Property (System)](https://docs.microsoft.com/en-us/dotnet/api/system.datetime.ticks?view=netframework-4.7.2#remarks
41084113
41094114
```
41104115
ticks('<timestamp>')

0 commit comments

Comments
 (0)