|
|
|
Помогите с CTime
|
|||
|---|---|---|---|
|
#18+
Пишу: CTime currentTime = CTime::GetCurrentTime(); CString dateBegin =currentTime.Format("%#d.%#B.%Y"); Почаю: 25.June.2003 А как получить: 25.06.2003 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2003, 10:41:15 |
|
||
|
Помогите с CTime
|
|||
|---|---|---|---|
|
#18+
что-то типа- CString dateBegin; dateBegin.Format("%d.%d.%d", currentTime.GetDay(), currentTime.GetMonth(), currentTime.GetYear()); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2003, 13:58:12 |
|
||
|
Помогите с CTime
|
|||
|---|---|---|---|
|
#18+
Спасибо, но есть проще CTime currentTime = CTime::GetCurrentTime(); Надо писать: CString dateBegin = currentTime.Format("%#d.%m.%Y"); А не: CString dateBegin =currentTime.Format("%#d.%#B.%Y"); короче вместо %#B надо писать %m и получается 5.06.2003 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2003, 14:37:45 |
|
||
|
|

start [/forum/search_topic.php?author=Infinity+Creator&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
10ms |
get forum list: |
23ms |
get settings: |
15ms |
get forum list: |
22ms |
check forum access: |
7ms |
check topic access: |
7ms |
track hit: |
61ms |
get topic data: |
18ms |
get forum data: |
5ms |
get page messages: |
62ms |
get tp. blocked users: |
2ms |
| others: | 582ms |
| total: | 814ms |

| 0 / 0 |
