Skip to content

Função TIMEVALUE

ERROR: {

 "id": "chatcmpl-Cv3GV0de0nbgg5iTmeTrxu4sRGBFw",
 "object": "chat.completion",
 "created": 1767713283,
 "model": "gpt-5-mini-2025-08-07",
 "choices": [
   {
     "index": 0,
     "message": {
       "role": "assistant",

"content": "\nEsta função recebe uma hora representada como string e retorna um valor decimal. O valor do tempo é um número decimal no intervalo de 0 a 0.99988426, que representa o horário de 0:00:00 a 23:59:59.\n\nFormato:\n\n*TIMEVALUE(time_as_string)\n\n== Exemplos ==\n

\nIF(TIMEVALUE({{System.Current time}})>TIMEVALUE(\"10:30:00\");\n{{System.Today::FormatingDate=dd.MM.yyyy}};\n{{System.Today::FormatingDateу=dd.MM.yyyy}}-1)\n

\n\n== Ir para ==\n* Operadores padrão e Planfix functions\n*Campos calculados\n*Relatórios",

       "refusal": null,
       "annotations": []
     },
     "finish_reason": "stop"
   }
 ],
 "usage": {
   "prompt_tokens": 529,
   "completion_tokens": 594,
   "total_tokens": 1123,
   "prompt_tokens_details": {
     "cached_tokens": 0,
     "audio_tokens": 0
   },
   "completion_tokens_details": {
     "reasoning_tokens": 320,
     "audio_tokens": 0,
     "accepted_prediction_tokens": 0,
     "rejected_prediction_tokens": 0
   }
 },
 "service_tier": "default",
 "system_fingerprint": null

}