Saltar para o conteúdo principal
Versão: 20 R9 BETA

VP SET TIME VALUE

VP SET TIME VALUE ( rangeObj : Object ; timeValue : Text { ; formatPattern : Text } )

ParâmetroTipoDescrição
rangeObjObject->Objeto intervalo
timeValueHora->Valor hora a definir
formatPatternText->Formato do valor

Descrição

O comando VP SET TIME VALUE atribui um valor de tempo especificado a um intervalo de células designado.

Em rangeObj, passe um intervalo de células (criado, por exemplo, com VP Cell ou VP Column) cujo valor você deseja especificar. Se rangeObj incluir várias células, o valor especificado será repetido em cada célula.

The timeValue parameter specifies a time expressed in seconds to be assigned to the rangeObj.

O formatPattern opcional define um padrão para o parâmetro timeValue.

Exemplo

//Set the value to the current time
VP SET TIME VALUE(VP Cell("ViewProArea";5;2);Current time)

//Set the value to a specific time with a designated format
VP SET TIME VALUE(VP Cell("ViewProArea";5;2);?12:15:06?;vk pattern long time)

Veja também

Cell Format
VP SET DATE TIME VALUE
VP SET VALUE