Today,it`s my first day to start a new lesson with c#!At first ,I want to study it just because java is a old language ,and run slower than c# many pe...
分类:
其他好文 时间:
2014-06-26 16:46:23
阅读次数:
191
DateTime类是.Net中用于处理时间类型数据的。一、字段MaxValue 表示 DateTime 的最大可能值。此字段为只读。MinValue 表示 DateTime 的最小可能值。此字段为只读。二、属性Date 获取此实例的日期部分。Day ...
分类:
Web程序 时间:
2014-06-25 19:10:12
阅读次数:
360
函数定义使用 func 定义一个函数。调用函数使用他的名字加 上小括号中的参数列表。使用 -> 分隔参数的名字和 返回值类型。函数声明:[html]view plaincopyfuncgreet(name:String,day:String)->String{return"Hello\(name),...
分类:
其他好文 时间:
2014-06-25 11:03:16
阅读次数:
269
ios对我而言只有初步的印象:没有android的版本碎片化的头痛但却有封闭体系的控制。作为一个ios开发者,必须掌握:oc大的概念,比如内存管理,委托,存档等。框架。终极目标是知道如何使用每个框架下每个类的每个方法。这是个耗时的事情,因为有超过3000个方法和200个类。而且..
分类:
移动开发 时间:
2014-06-25 10:21:01
阅读次数:
226
函数定义 使用 func 定义一个函数。调用函数使用他的名字加 上小括号中的参数列表。使用 -> 分隔参数的名字和 返回值类型。 函数声明: func greet(name: String, day: String) -> String {
return "Hello \(name),today is \(day)."
} 函数调用:greet("Bob", "Tuesday") 无返回值函数...
分类:
其他好文 时间:
2014-06-25 10:04:23
阅读次数:
255
PHP日期转星期(英文/数字)<?php
$date="2014-06-24";
$datearr=explode("-",$date);
$year=$datearr[0];
$month=sprintf(‘%02d‘,$datearr[1]);
$day=sprintf(‘%02d‘,$datearr[2]);
$hour=$minute=$second=0;
$dayofweek=getdate(mktime($hour,$minute,$second,$month,$day..
分类:
Web程序 时间:
2014-06-25 06:05:01
阅读次数:
266
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note:
You may not engage in multiple transactions at the same time (i...
分类:
其他好文 时间:
2014-06-24 23:28:43
阅读次数:
223
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240
#计算两个时间的间隔
#计算间隔天数
select TIMESTAMPDIFF(day,'2014-06-01',date(now()))
#计算间隔月数
select TIMESTAMPDIFF(month,'2014-01-01',date(now()))
#计算间隔年数
select TIMESTAMPDIFF(year,'2010-01-01',date(now()))...
分类:
数据库 时间:
2014-06-24 17:07:53
阅读次数:
276
I won't forget Ki-kun until the day I forget Ki-kun — Mafuyu Shiina , Life is never too short to try again! — Kurimu Sakurano It's not that the world....
分类:
其他好文 时间:
2014-06-24 15:16:16
阅读次数:
210