
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
25.06.2003, 10:41:15
|
|||
|---|---|---|---|
|
|||
Помогите с CTime |
|||
|
#18+
Пишу: CTime currentTime = CTime::GetCurrentTime(); CString dateBegin =currentTime.Format("%#d.%#B.%Y"); Почаю: 25.June.2003 А как получить: 25.06.2003 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
25.06.2003, 13:58:12
|
|||
|---|---|---|---|
Помогите с CTime |
|||
|
#18+
что-то типа- CString dateBegin; dateBegin.Format("%d.%d.%d", currentTime.GetDay(), currentTime.GetMonth(), currentTime.GetYear()); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
25.06.2003, 14:37:45
|
|||
|---|---|---|---|
|
|||
Помогите с 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&tablet=1&tid=2036235]: |
0ms |
get settings: |
9ms |
get forum list: |
22ms |
check forum access: |
6ms |
check topic access: |
6ms |
track hit: |
50ms |
get topic data: |
17ms |
get forum data: |
4ms |
get page messages: |
56ms |
get tp. blocked users: |
2ms |
| others: | 281ms |
| total: | 453ms |

| 0 / 0 |
