相关疑难解决方法(0)

如何从一年中的某一天获取日期

我怎样才能dateday of yearC#中获得?

我有这个代码:

int a = 53;   // This is the day of year value, that I got previously
string b = Convert.ToDateTime(a).ToString();   // Trying to get the date
Run Code Online (Sandbox Code Playgroud)

我需要获得价值22.2.2014.但这不起作用,我该怎么办?提前致谢.

c# datetime

11
推荐指数
2
解决办法
1万
查看次数

标签 统计

c# ×1

datetime ×1