Format

How to force system to get month in "04" instead of "4" ?

“INV”
&
RIGHT(YEAR(TODAY()),2)
&
TEXT(MONTH([DATE]),"MM")
&
"-"
&
RIGHT(“000”&([_RowNumber]-1),4)

TEXT function with two arguments requires a temporal type and text representing a date format
 




Solved Solved
0 2 97
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @DjLeiii 

 

what about that ?

 

“INV”
&
TEXT(TODAY(),"yy")
&
TEXT([DATE],"MM")
&
"-"
&
RIGHT(“000”&([_RowNumber]-1),4)

 

 

View solution in original post

2 REPLIES 2

Aurelien
Google Developer Expert
Google Developer Expert

Hi @DjLeiii 

 

what about that ?

 

“INV”
&
TEXT(TODAY(),"yy")
&
TEXT([DATE],"MM")
&
"-"
&
RIGHT(“000”&([_RowNumber]-1),4)

 

 

HI @Aurelien its works! Thank you :)) 

Top Labels in this Space