Posts by Marcus VBP • 93 points
3 posts
-
0
votes2
answers85
viewsQ: Format Date in javascript for "from here to Xd Yh zm"
Friends, I am trying to format a date in javascript to stay in the following format: In x Days, y Hours, Z minutes. Only my code isn’t working properly: dt = dados[i].Hora - dataAtual; // o valor…
-
4
votes2
answers2474
viewsQ: Get values from within a function that is within another function
I am developing a small Javascript application that makes use of Web SQL. I want to create a function that returns the value of a variable in the VARIABLES table, as well as its observation. It…
-
5
votes1
answer1117
viewsQ: I cannot enter data into the sqlite using javascript
I’m creating a smartphone app using Cordova for a college project. The App consists of a simple patient registration. I’m having trouble recording data in the database. Initially the recording was…