mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 06:54:51 +01:00
this took soo long, but here you are wells
This commit is contained in:
@@ -10,5 +10,10 @@
|
||||
int offset = (dayOfMonth + (int)firstDayOfWeek - 1) / 7;
|
||||
return offset + 1;
|
||||
}
|
||||
|
||||
public static double GetSecondsPassed(this DateTime date)
|
||||
{
|
||||
return (DateTime.Now - date).TotalSeconds;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user