MobiusTrader
English
Russian
中文
English
العربي
Bahasa Indonesia
Terminals
For clients
Documentation
Articles
mScript
Contacts
Textbook
Directory
»
DateTime
»
day
Format
current
day
dayOfWeek
format
fromString
hour
minute
month
seconds
year
DateTime.day()
Returns the day of the month (1-31) for a given date
DateTime.day(time:int)
Parameters
Name
Type
Действие
Значение по умолчанию
time
int
Datetime as number of seconds elapsed since midnight (00:00:00), January 1, 1970
—
Return value
Day of month (1 - 31) of the specified date
Description
Used in the method
onUpdate
Example
let currentDay = DateTime.day(DateTime.current());