Descrição
(DATA) __SetCentury - Data com quatro dígitos ou dois dígitos.
|
Sintaxe
Parâmetros
| Par |
Nome |
Tipo |
Descrição |
Default |
Obg |
Ref |
01
|
cPar |
Character |
on / off |
|
|
|
Retorno
| Retorno |
Tipo |
Descrição |
| cRet |
|
|
Exemplo
#INCLUDE "TOTVS.CH"
User Function __SetCentury()
__SetCentury("on")
//datas dtoc ctod
__SetCentury("off")
Return( Nil )
Resultado
Informações adicionais
Gostou? Compartilhe com seus amigos e deixe um comentário! 😎