|
|
|
Помогите с CTime
|
|||
|---|---|---|---|
|
#18+
Пишу: CTime currentTime = CTime::GetCurrentTime(); CString dateBegin =currentTime.Format("%#d.%#B.%Y"); Почаю: 25.June.2003 А как получить: 25.06.2003 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2003, 10:41 |
|
||
|
Помогите с CTime
|
|||
|---|---|---|---|
|
#18+
что-то типа- CString dateBegin; dateBegin.Format("%d.%d.%d", currentTime.GetDay(), currentTime.GetMonth(), currentTime.GetYear()); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.06.2003, 13:58 |
|
||
|
Помогите с 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 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=32190902&tid=2036235]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
168ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
| others: | 246ms |
| total: | 508ms |

| 0 / 0 |
