P
P
palikarp2014-03-05 11:26:04
1C
palikarp, 2014-03-05 11:26:04

How to assign the value of the current day to the "date" attribute on the form in 1C 8.2?

Sorry for the elementary question, I'm just studying 1C 8.2.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mix2000, 2014-03-06
@palikarp

If you mean a managed form, then it's better like this:

&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
  
  ДатаСоздания = ТекущаяДата();
  
КонецПроцедуры

And it’s better not to call the details like this: Creation_Date It’s more
correct like this: CreationDate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question