Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Get date through javascript

AnAverageGuest
Guest
Quote
2020-04-06 04:37:43

I found a code that gets the current date with javascript
2
var today = new Date();
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();
print("The date is: " + date


Not sure if this any help to anyone.


MuTan
Guest
Quote
2020-04-07 11:33:57

Thanks for sharing!
I already know how to do that, anyway. I used it in my screenshot extension.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact