你的位置: 码友网首页 / 资讯源列表 / Remove Time from a DateTime Object in C#

关于[Remove Time from a DateTime Object in C#]的摘要:

When we need to work with time in C# we use the DateTime type. DateTime values have two components, as easily inferred from the name – a date part and a time part. Since in some cases we might need only one part out of the two, in this article we’re going to learn how to remove time from a DateTime in C#.

原文地址: https://code-maze.com/remove-time-from-datetime-csharp/

收录时间: 2022-03-24 浏览量: 2338 分类: C#

| 0 收藏 | 0