码迷,mamicode.com
首页 >  
搜索关键字:day 7    ( 6063个结果
javascript 追加date format属性。
Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), ...
分类:编程语言   时间:2014-07-10 12:23:43    阅读次数:195
An Apple a day keeps the doctor away
An apple a day keeps the doctor away. 一天一苹果,不用请医生。活学活用:appleas like as an apple to an oyster 毫无相同之处The rotten apple injures its neighbours. [谚]一只烂, 烂一...
分类:移动开发   时间:2014-07-10 12:17:24    阅读次数:285
php 笔试题
1、用PHP打印出前一天的时间格式是2006-5-10 22:21:21 解:echo date(‘Y-n-d H:i:s’, strtotime(‘-1 day’)); 原因: format 字符说明返回值例子a小写的上午和下午值am 或 pmA大写的上午和下午值AM 或 PMd月份中的第几...
分类:Web程序   时间:2014-07-10 11:32:10    阅读次数:347
poj 3264 Balanced Lineup
DescriptionFor the daily milking, Farmer John'sNcows (1 ≤N≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game o...
分类:其他好文   时间:2014-06-28 09:32:17    阅读次数:200
sql server日期时间转字符串
一、sqlserver日期时间函数SqlServer中的日期与时间函数1.当前系统日期、时间selectgetdate()2.dateadd在向指定日期加上一段时间的基础上,返回新的datetime值例如:向日期加上2天selectdateadd(day,2,'2004-10-15')--返回:20...
分类:数据库   时间:2014-06-27 13:19:02    阅读次数:247
Hello C# !
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
android 两次调用DatePickerDialog.onDateSet()
在4.2.2版本上调用系统的DatePickerDialog,发现点击确定时系统调用onDateSet()两次,需要过滤其中的一次。 Calendar mCalendar = Calendar.getInstance(); mCalendar.add(Calendar.DAY_OF_YEAR, 1); final DatePickerDialog dateDialog = new D...
分类:移动开发   时间:2014-06-26 11:30:26    阅读次数:233
自学ios:second day Objective-C
oc是c的超集,从c扩展而来,具备面向对象的特性,比如类,消息,单继承。c的部分:数据类型:short,int,long,float,double,char,pointer,struct常用方法:readline()atoi()sizeof()malloc()oc的部分:receiver:classNameOrObjectselector:method消息的传递通过[recei..
分类:移动开发   时间:2014-06-26 06:39:56    阅读次数:305
自学ios:third day Objective-C 常用class
NSString:它的实例可以包含任意的Unicode字符eg:NSString*name=@"jethro";//@"..."是一种oc简化写法
分类:移动开发   时间:2014-06-26 06:10:39    阅读次数:241
自学ios:first day 基本概念
ios对我而言只有初步的印象:没有android的版本碎片化的头痛但却有封闭体系的控制。作为一个ios开发者,必须掌握:oc大的概念,比如内存管理,委托,存档等。框架。终极目标是知道如何使用每个框架下每个类的每个方法。这是个耗时的事情,因为有超过3000个方法和200个类。而且..
分类:移动开发   时间:2014-06-25 10:21:01    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!