在使用日历使用中,获取星期的时候NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];[dateFormat setDateFormat:@"EEE"];得到的String 是 “Mon” “Wed”....如果想要得到中文 “周一...
分类:
其他好文 时间:
2016-01-24 14:21:14
阅读次数:
163
create table #ttt(id int,name nvarchar(10));merge into #ttt t using (select 1 as id ,'eee' as name ) b on (t.id = b.id) when matched then update set t...
分类:
数据库 时间:
2015-12-23 16:03:42
阅读次数:
205
1 select.css 2 3 *{padding:0;margin:0;} 4 .box{position: relative;width: 100px;} 5 ul,li{list-style: none;background: #eee;} 6 .box span{display:blo.....
分类:
其他好文 时间:
2015-12-18 21:02:30
阅读次数:
282
.container { background-color: #eee; height: 200px;}.img { display: inline-block; width: 64px; height: 64px; background-color: g...
分类:
移动开发 时间:
2015-12-02 18:15:49
阅读次数:
163
// ( NSString *) == Thu Oct 16 17:06:25 +0800 2014 // dateFormat = EEE MMM dd HH:mm:ss Z yyyy NSDateFormatter *fmt = [[NSDateFormatteralloc] init];...
分类:
移动开发 时间:
2015-11-12 11:22:02
阅读次数:
282
HTML代码的话就是cssbody,ul,li{margin: 0;padding: 0;font-family: "黑体";background: #eee;} li{list-style: none;} #ul1{margin: 20px auto;border-top: 1px soli...
分类:
编程语言 时间:
2015-11-10 21:01:10
阅读次数:
247
"> 头像: " id = "fileimg" width="100" height="100" style="border:1px solid #eee">
分类:
Web程序 时间:
2015-11-03 21:14:19
阅读次数:
270
String str = "Sun Sep 23 00:32:57 +0800 2012"; SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.US); ...
分类:
编程语言 时间:
2015-11-02 17:15:15
阅读次数:
193
NSDate *now = [NSDate date]; NSDateFormatter *fmt = [[NSDateFormatter alloc] init]; // @"yyyy-MM-dd HH:mm:ss EEE Z" 日期和 时区差 -> Mon +0800 // @"yyyy...
分类:
其他好文 时间:
2015-10-26 20:38:43
阅读次数:
166
今天get 了css新样式:控制一行一行的文本如果太长,就用省略号显示:样式如下: .myStyle{width:160px;height:50px;line-height:50px;border:4px solid #eee; white-space:nowrap;/*强制文本在一行...
分类:
其他好文 时间:
2015-10-13 20:49:23
阅读次数:
174