摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;names... 阅读全文
posted @ 2009-08-17 10:54
米高佐敦
阅读(750)
评论(0)
推荐(0)
摘要:
js的gettime定义和用法getTime() 方法可返回距 1970 年 1 月 1 日之间的毫秒数。C#中的ticks此属性的值表示自 0001 年 1 月 1 日午夜 12:00:00以来经过的以 100 纳秒为间隔的间隔数。对几个词来说明一下,纳秒也叫毫微秒,相互之前的转换关系是1秒 = 10^3 毫秒1毫秒 = 10^3 微秒1微秒 = 10^3 纳秒现在要用c#做出这种js 的get... 阅读全文
posted @ 2009-08-17 09:54
米高佐敦
阅读(2170)
评论(1)
推荐(1)
摘要:
JS中的getTime与.Net中的DateTime.Ticks意义相近,所以相互转换时,需要用到这两个概念;但是getTime与Ticks的意义有所区别,请看以下定义:JS中getTime的定义:getTime() 方法可返回距 1970 年 1 月 1 日之间的毫秒数。C#中的Ticks此属性的值表示自 0001 年 1 月 1 日午夜 12:00:00以来经过的以 100 纳秒为间隔的间隔数... 阅读全文
posted @ 2009-08-17 09:50
米高佐敦
阅读(751)
评论(0)
推荐(0)
浙公网安备 33010602011771号