from_unixtime in c#.net
-
Is there from_unixtime() function in c#.net. If not, please guide me. its very urgent. In mysql from_unixtime() function is used to change int time to datetime format. like from_unixtime('1190452194')=Sep 22 2007 HH MM
First and the Foremost: FIGHT TO WIN
MySite:
http://hariomprakash.info -
Is there from_unixtime() function in c#.net. If not, please guide me. its very urgent. In mysql from_unixtime() function is used to change int time to datetime format. like from_unixtime('1190452194')=Sep 22 2007 HH MM
First and the Foremost: FIGHT TO WIN
MySite:
http://hariomprakash.info -
So far as I know, C# language has no specified function. But you can create a similar function your self.
--------------------------------- Believe what you saw!
what is the format of this type of time(integer)?
First and the Foremost: FIGHT TO WIN
MySite:
http://www.hariomprakash.info -
Is there from_unixtime() function in c#.net. If not, please guide me. its very urgent. In mysql from_unixtime() function is used to change int time to datetime format. like from_unixtime('1190452194')=Sep 22 2007 HH MM
First and the Foremost: FIGHT TO WIN
MySite:
http://hariomprakash.infoThis should do the trick: DateTime time = (new DateTime(1970, 1, 1)).AddSeconds(unixTime);
-
This should do the trick: DateTime time = (new DateTime(1970, 1, 1)).AddSeconds(unixTime);
Thank you so much...it works....!:)
First and the Foremost: FIGHT TO WIN
MySite:
http://www.hariomprakash.info