11 2013 档案
摘要:using System;using System.Collections.Generic;using System.Text;using System.Reflection.Emit;using System.Reflection;using System.Threading;namespace _5_CIL{ /// /// 产生动态程序集 /// 陶勇强 /// ///要动态构造的程序集的类 ///public class HelloWord /// { /// private string theMessage; /// ...
阅读全文
摘要:一. 获取当前系统时间和日期并格式化输出:import java.util.Date;import java.text.SimpleDateFormat;public class NowString {public static void main(String[] args) { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式System.out.println(df.format(new Date()));// new Date()为获取当前系统时间}}二. 在数据库里
阅读全文

浙公网安备 33010602011771号