javascript - Save the actual date in a variable (only date, no time) -


I want to save the real time in one variable. Only date, time not

  var a = @Date (@Now ()); Data source.Relightmett ("variable", a) ` 

and

  var a = @ date (@ now ()); Var b = New date (a.get year (), a.getMonth (), a.getDay ()); Dataset. Returning Value ("Variable", B)  

Returning 28.10.14 00:00

  var dt: NotesDateTime = @date (@ now ()); Datasource.ReliteWall ("variable", dt.getDateOnly ());  

throwing me an error

Is there no easy way to get actual dates only without time?

set the time to remove the application () Use the metecode


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -