Archive for September, 2010
辛苦的一週
Posted by Chowky in Uncategorized on September 25, 2010
[iPhone] Apple 軟化? 聽取developer 意見? App Store 放寬 devleopment tools restrictions
這當然是對flash / flex developer 來說是好消息。
chowky 有點兒不明白,apple 首先是高調地改app sotre 的restrictions。現在就放寬。真的是聽取了developers 的意見,不禁令chowky 猜是否受到了其他的壓力?/ 其他的相關利益?
因為App Store 放寬 devleopment tools restrictions,變相就容許cs5 的Adobe’s Packager for iPhone。前提是現在大家只要不DOWNLOAD 其他的CODE 。
In particular, we are relaxing all restrictions on the development tools used to create iOS apps, as long as the resulting apps do not download any code. This should give developers the flexibility they want, while preserving the security we need.
chowky 都看看cs5 的packager for iphone 的feature support 先~~
不過,真的要看看造出來的application 夠不夠順暢。因為利用objective-c 寫出來的app 是很順的,有機會放一個demo 上來分享一下。
Source: http://www.apple.com/pr/library/2010/09/09statement.html
Apple 新版 iPod Touch、iPod nano、iPod Shuffle 功能簡介
新版 iPod Touch、iPod nano、iPod Shuffle 都各自有自己的新功能。
iPod Touch 受到iPad 和iPhone 的影響,而令到銷情差。所以這次新版 iPod Touch,升級到和iPhone 4 十分相似。還加入iphone 4 的retina display 。打重本,希望銷情會有改善呢~

新版 iPod Touch

FaceTime 視象會議 (可與iPhone 4 連結)

Retina 顯示器 (960 x 640 解像度/326ppi)

高清攝錄 (可拍攝高清影片) + 配合iMovie軟件進行剪輯
Read the rest of this entry »
MS SQL Convert Datetime
因為常常都不記得mssql 的convert function 唯有寫下來呢~ 以下節錄自microsoft 的msdn:
| Without century (yy) (1) | With century (yyyy) | Standard | Result |
|---|---|---|---|
| - | 0 or 100 (1,2) | Default | mon dd yyyy hh:miAM (or PM) |
| 1 | 101 | U.S. | mm/dd/yyyy |
| 2 | 102 | ANSI | yy.mm.dd |
| 3 | 103 | British/French | dd/mm/yyyy |
| 4 | 104 | German | dd.mm.yy |
| 5 | 105 | Italian | dd-mm-yy |
| 6 | 106(1) | - | dd mon yy |
| 7 | 107(1) | - | Mon dd, yy |
| 8 | 108 | - | hh:mi:ss |
| - | 9 or 109 (1,2) | Default + milliseconds | mon dd yyyy hh:mi:ss:mmmAM (or PM) |
| 10 | 110 | USA | mm-dd-yy |
| 11 | 111 | JAPAN | yy/mm/dd |
| 12 | 112 | ISO | yymmdd
yyyymmdd |
| - | 13 or 113 (1,2) | Europe default + milliseconds | dd mon yyyy hh:mi:ss:mmm(24h) |
| 14 | 114 | - | hh:mi:ss:mmm(24h) |
| - | 20 or 120 (2) | ODBC canonical | yyyy-mm-dd hh:mi:ss(24h) |
| - | 21 or 121 (2) | ODBC canonical (with milliseconds) | yyyy-mm-dd hh:mi:ss.mmm(24h) |
| - | 126 (4) | ISO8601 | yyyy-mm-ddThh:mi:ss.mmm (no spaces) |
| - | 127(6, 7) | ISO8601 with time zone Z. | yyyy-mm-ddThh:mi:ss.mmmZ
(no spaces) |
| - | 130 (1,2) | Hijri (5) | dd mon yyyy hh:mi:ss:mmmAM |
| - | 131 (2) | Hijri (5) | dd/mm/yy |
另外就是只取 date 而不要 time 的做法如下 (這種做法不用convert 兩次,要變做varchar, 而這種方法可以保留datetime 這個format)
dateadd(dd,0, datediff(dd,0,yourdatefield))




Recent Comments