随笔分类 -  表达式类

摘要:引用于:http://community.csdn.net/Expert/topic/5375/5375281.xml?temp=.1688806using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.T... 阅读全文

posted @ 2007-05-20 23:40 逍遥散人 阅读(813) 评论(0) 推荐(0) |

摘要:将日期型数据按照一定的格式输出,输出结果肯定是字符串。使用 System.DateTime 类的 ToString() 方法指定格式字符串。 System.Globalization.DateTimeFormatInfo 类的概述里对模式字符串有非常详细的说明 ,这里我只对常用的一些格式进行说明,首先请看下表:d 月中的某一天 ... 阅读全文

posted @ 2006-11-06 17:17 逍遥散人 阅读(373) 评论(1) 推荐(0) |

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3