Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > how to initialize a dateTime variable

Forum

Search UsersRules
how to initialize a dateTime variable
#1
Active user
Points:: 0
Joined:: Feb 9, 2016

Hi,

we can use date(year, month, day) to initialize a specific date.
how can I initialize a datetime?
I tried DateTime(year, month, day, hour, min, sec) in the code but it shows error.
is there a way to get or initialize or compare a time only or a datetime?

thanks

Profile
#2
Active user
Points:: 0
Joined:: Feb 9, 2016

got it

Date(2020,2,20,13,0,0);

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.