Create a computed field called DateSep with the formula
DateText:=@Text(@Date(2000; 12; 31); "D0S0");
Replace := "31" : "12" : "2000";
@SubSet(@Trim(@ReplaceSubstring(DateText; Replace; ""));1)
Use this value in your Javascript were necessary.
Or calculate the client side date separator using
.toLocaleString()
Info ->
http://msdn.microsoft.com/scripting/default.htm?/scripting/jscript/doc/jsmthtolo
calestring.htm
You can always compute the server date separator.
Borrowing some of Jakes fromula code ;)
Create a computed field called DateSep with the formula DateText:=@Text(@Date(2000; 12; 31); "D0S0"); Replace := "31" : "12" : "2000"; @SubSet(@Trim(@ReplaceSubstring(DateText; Replace; ""));1)
Use this value in your Javascript were necessary.
Or calculate the client side date separator using
.toLocaleString()
Info -> http://msdn.microsoft.com/scripting/default.htm?/scripting/jscript/doc/jsmthtolo calestring.htm