Posts by Daniel Duarte • 34 points
2 posts
-
-2
votes1
answer27
viewsQ: How to format date Apr 17 1995 12:00:000AM for 1995-04-17 in java script?
I’m pulling a date straight from Sqlserver, but this returning me in this format Apr 17 1995 12:00:000AM is possible to create a function that returns me this format 1995-17-04 with js?
javascriptasked Daniel Duarte 34 -
2
votes1
answer45
viewsA: Add input to an array loop
In fact, by setting the [$i] in the push array, you are already assigning a key/index to the products array. Ex: In the first run of for, where $i = 0, when executing the [$products[$i], $items);…