
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
25.06.2003, 10:41
|
|||
|---|---|---|---|
|
|||
Помогите с CTime |
|||
|
#18+
Пишу: CTime currentTime = CTime::GetCurrentTime(); CString dateBegin =currentTime.Format("%#d.%#B.%Y"); Почаю: 25.June.2003 А как получить: 25.06.2003 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
25.06.2003, 13:58
|
|||
|---|---|---|---|
Помогите с CTime |
|||
|
#18+
что-то типа- CString dateBegin; dateBegin.Format("%d.%d.%d", currentTime.GetDay(), currentTime.GetMonth(), currentTime.GetYear()); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
25.06.2003, 14:37
|
|||
|---|---|---|---|
|
|||
Помогите с 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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=57&mobile=1&tid=2036235]: |
0ms |
get settings: |
7ms |
get forum list: |
18ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
40ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
39ms |
get tp. blocked users: |
1ms |
| others: | 213ms |
| total: | 332ms |

| 0 / 0 |
