I am using websql, but problem is, not finding any date functions in websql. I have date stored in the format Mon Apr 09 2012 15:23:54 GMT+530(India Standard Time)
, and I want the query result in the format 04/09/2012
. Can any body help please?
相关问题
- Chrome Extension: WebQL database is not appearing
- How to use WebSql database with sencha touch Appli
- Pass extra parameters to WebSQL callback function?
- Sync indexedDB with mysql database
- Phonegap: WebSql or SqLite?
相关文章
- Phonegap: WebSql or SqLite?
- difference between window.openDatabase() and windo
- websql drop column with javascript
- How to open an existing WebSQL database?
- Attach content of HTML5 WebSQL databse to email us
- Access localStorage or web database created in Pho
- [removed] Searching indexeddb using multiple index
- WebSQL for PhoneGap Application [closed]
WebSql has a
strftime
function that should do what you need:As noted in the comment below, the data in the column will need to be a valid date time string recognized by SQLite. Check the SQLite Date Functions documentation for more info.