static void date_Functions(Args _args)
{
Transdate d;
;
d = today();
info(strfmt("Date – %1",d));
//Gets the month for the given date…
info(strfmt("Month – %1",mthofYr(d)));
//Gets the month name from the given date…
info(strfmt("Month Name – %1",mthname(mthofYr(d))));
//Gets the day for the given date…
info(strfmt("Day – %1",dayOfMth(d)));
//Gets the day name from the given date…
info(strfmt("Day Name – %1",dayname(dayOfMth(d))));
//Gets the year for the given date…
info(strfmt("Year – %1",year(d)));
//Gets the current weekday number from the date…
info(strfmt("Weekday number – %1",dayOfwk(d)));
//Gets the day of the year from the given date…
info(strfmt("Day of year – %1",dayOfyr(d)));
//Gets the week of the year from the given date…
info(strfmt("Week of the year – %1",wkofyr(d)));
//Gets the start of the month from the given date…
info(strfmt("Start of the month – %1", DateStartMth(d)));
//Gets the end of the month from the given date…
info(strfmt("Enf of the month – %1", endMth(dateMthFwd(d, 0))));
//Gets the previous month from the given date…
info(strfmt("The previous month – %1",prevMth(d)));
info(strfmt("The previous month – %1",maxDate()));
info(strfmt("current system time %1", DateTimeUtil::utcNow()));
info(strfmt("current system time %1", DateTimeUtil::applyTimeZoneOffset(DateTimeUtil::utcNow(), DateTimeUtil::getUserPreferredTimeZone())));
}
22 Ağustos 2017 Salı
Tarih metodları (Date methods)
Kaydol:
Kayıt Yorumları (Atom)
Total ciro
static void MAA_SalesTableTotal(Args _args) { SalesTable SalesTable; utcDateTime dateTime; dateTime ...
-
Dynamics Ax Microsoft’un orta ve büyük ölçekli işletmelerin ihtiyaçlarını karşılamak için tasarladığı temel iş çözümüdür. Veritabanı yöne...
-
Veri Filtreleme CTRL+F Geçerli alanı filtrelemek için kullanılır. Ekran açılır. Hangi alan üzerine tıklandı ise o alan için filtreleme k...
Hiç yorum yok:
Yorum Gönder