Este es el sitio web histórico de la documentación de 4D. La documentación se está trasladando progresivamente a developer.4d.com

Inicio

 
4D v19
VP SET TIME VALUE

VP SET TIME VALUE 


 

VP SET TIME VALUE ( rangeObj ; timeValue {; formatPattern} ) 
Parámetro Tipo   Descripción
rangeObj  in Range object
timeValue  Hora in Time value to set
formatPattern  Texto in Format of value

The VP SET TIME VALUE command assigns a specified time value to a designated cell range.

In rangeObj, pass a range of the cell(s) (created for example with VP Cell or VP Column) whose value you want to specify. If rangeObj includes multiple cells, the value specified will be repeated in each cell.

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

The optional formatPattern defines a pattern for the timeValue parameters. For information on patterns and formatting characters, please refer to the 4D View Pro Cell Format section.

Ejemplo  

  //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)



Ver también 

Formato de celda 4D View Pro
VP SET DATE TIME VALUE
VP SET VALUE

 
PROPIEDADES 

Producto: 4D
Tema: Lenguaje 4D View Pro
Número 9577

 
CONTENIDO DE LA PÁGINA 
 
HISTORIA 

Creado por: 4D v17 R4

 
ARTICLE USAGE

4D View Pro ( 4D v19)