Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 8105c34

Browse files
committed
Add missing GetTimestamp API
1 parent 4ef92d6 commit 8105c34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceStack.Text/PclExport.Sl5.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ private long GetCurrentTicks()
167167
{
168168
return Environment.TickCount * TimeSpan.TicksPerMillisecond;
169169
}
170+
171+
public long GetTimestamp()
172+
{
173+
return DateTime.UtcNow.Ticks;
174+
}
170175
}
171176
}
172177

0 commit comments

Comments
 (0)