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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -