Discussões
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Exemplos de funções TO_CHAR
Aplica-se a
Produto: NetSuite 2022.2
Cenário
Consulte a tabela abaixo para obter a fórmula de exemplo e os resultados do uso de diferentes parâmetros de TO_CHAR.
| Parâmetro | Fórmula | Exemplo de resultado | Explicação |
| DL | to_char({today},'DL') | Saturday, April 02, 2016 | Date Long |
| YEAR | to_char({today},'YEAR') | TWENTY SIXTEEN | Year, spelled out |
| YYYY | to_char({today},'YYYY') | 2016 | 4-digit year |
| YYY | to_char({today},'YYY') | 016 | Last 3, 2, or 1 digit(s) of year. |
| YY | to_char({today},'YY') | 16 | |
| Y | to_char({today},'Y') | 6 | |
| IYY | to_char({today},'IYY') | 016 | Last 3, 2, or 1 digit(s) of ISO year. |
| IY | to_char({today},'IY') |
0
Olá, bem-vind@!
Faça login
Para ver todos os detalhes, faça o login.
Cadastre-se
Não tem uma conta? Clique aqui para começar!