Skip to content
Advertisement

Tag: ionic-framework

Time conversion Not working properly?

I am using the ionic time picker in my project. When I select the time picker it passes a value to the controller. For example when I select 09:00pm, the console shows 79200. If I select 07:00pm the console shows 68400. I want to convert the value to 12 hrs format. I have followed some steps, but it’s not working

Cordova SQLite save BLOB

I have a problem with Cordova SQLite plugin. How can I save BLOB image to SQLite? I have BLOB object in JS: And I trying to save it And when i trying to get this image: I get this string: How can i convert it to BLOB again? Also i trying to save images in base64, but i can’t save

Advertisement