This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Made EpochTIme internal
pull/6/head
RogueException
9 years ago
parent
4ce382dc80
commit
48da25752f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net/Helpers/EpochTime.cs
+ 1
- 1
src/Discord.Net/Helpers/EpochTime.cs
View File
@@ -2,7 +2,7 @@
namespace Discord.Helpers
{
public
class EpochTime
internal
class EpochTime
{
private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static ulong GetMilliseconds() => (ulong)(DateTime.UtcNow - epoch).TotalMilliseconds;
Write
Preview
Loading…
Cancel
Save