Hi,
What out when assign value ..day , .. month , ..year
if I want to assign 31 dec 2016
what the different from these 2 test
--- test 1 ---
m_date is date = today()
m_date..day = 31
m_date..month = 12
m_date..year = 2016
info(m_date)
--- test 2 ---
m_date is date = today()
m_date..year = 2016
m_date..month = 12
m_date..day = 31
info(m_date)
test1 will return 30 nov 2016 while test2 will return 31 dec 2016 .
interesting right?
What out when assign value ..day , .. month , ..year
if I want to assign 31 dec 2016
what the different from these 2 test
--- test 1 ---
m_date is date = today()
m_date..day = 31
m_date..month = 12
m_date..year = 2016
info(m_date)
--- test 2 ---
m_date is date = today()
m_date..year = 2016
m_date..month = 12
m_date..day = 31
info(m_date)
test1 will return 30 nov 2016 while test2 will return 31 dec 2016 .
interesting right?