how increase/decrease space between date characters.
d -- > -- > d / m -- > m / y --> y--> y -- y-->
should like:
0 8 0 8 2 0 1 6
if understand correctly, looks looking output formatter
string.format can used in case:
var somedate = new system.datetime(2016, 8, 8); string.format("{0,10}:{1,20}:{2,30}", somedate.month, somedate.day, somedate.year)
output:
" 8: 8: 2016"
you can put value {0,xx} depending on how padding want given parameter.
moreover check out date , time formatters.
Comments
Post a Comment