Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!




   1180

[C#] Having an issue with DateTimeOffset

by Thicc - 05 May, 2020 - 09:58 PM
This post is by a banned member (Thicc) - Unhide
Thicc  
Registered
2.557
Posts
227
Threads
8 Years of service
#1
As I'm new to C# I come across some weird fucking issues That I can't solve, I had to convert a unix time thingy to a date but I keep getting this error and idfk how to deal with it.
Google isn't helping me either


[Image: zSV3CkR.png]
This post is by a banned member (Gaztoof) - Unhide
Gaztoof  
Contributor
1.468
Posts
1.117
Threads
7 Years of service
#2
string EXP = DateTimeOffset.FromUnixTimeSeconds(int.Parse(unix));
LONG LIVE CYBERNIGGERS
"[/size][/color][/b][/u]@Gaztoof has decided to neg me because I've told him to not send too many messages per second in the SB as that annoys many. He then accused me of being Indian, for no legitimate reason"
[u][b][color=#f1c40f][size=xx-large][Image: vlr6kzb.gif]
[Image: floyd-george-e1590967609961.jpg]
[Image: kOX40Je.png]

my signature is epic, nothing to add 
https://i.imgur.com/13lycpV.gif consider this an image tysm
This post is by a banned member (Thicc) - Unhide
Thicc  
Registered
2.557
Posts
227
Threads
8 Years of service
#3
(05 May, 2020 - 09:58 PM)Gaztoof Wrote: Show More
string EXP = DateTimeOffset.FromUnixTimeSeconds(int.Parse(unix));

Pepelove Pepelove

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)