Показать сообщение отдельно
Старый 31.03.2010, 11:47   #3  
S.Kuskov is offline
S.Kuskov
Участник
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
3,447 / 1782 (66) ++++++++
Регистрация: 28.04.2007
Адрес: Калуга
Если вопрос про новый тип данных utcDateTime, появившийся в AX2009, то в хелпе всё есть:
Цитата:
X++ Literals for utcdatetime
The format for a utcdatetime literal is yyyy-mm-ddThh:mm:ss, with the uppercase T being a required literal character. This format is understood by X++ without quotes, as shown in these examples:
utcdatetime myUtc2 = 1988-07-20T13:34:45;
int iDay = DateTimeUtil ::day(1988-07-20T13:34:45)
This same format is expected as a quoted string parameter into the DateTimeUtil :: parse method:
utcdatetime myUtc4 = DateTimeUtil :: parse("1988-07-20T13:34:45");