vxml


date value in database


I have a php database that accepts user input. It accepts the built in grammar type which is date, is stores to the database the date in this format 20101030. I want to be able to check against the database for use within a grammar but it doesn't recognize this value again as a date. Is there anyway i can do this? thanks
Try this
$datear=array();
$temp=strtotime($row['Your_date_column']);
$datear=getdate($temp);
echo substr($datear["month"],0,3).'-'.$datear["mday"].'-'.$datear["year"];
($row['Your_date_column']) this will give the unix timestamp what you wrote above like 201010... getdate() function will convert to date array which will store relevant information like
[seconds] - seconds
[minutes] - minutes
[hours] - hours
[mday] - day of the month
[wday] - day of the week
[year] - year
[yday] - day of the year
[weekday] - name of the weekday
[month] - name of the month
once you get this info try for format the date as you need in you database..

Related Links

VXML <say-as> within <filled>
vXML number readback error
Writing GRXML code
Meaning of repeat-prob in Speech Recognition Grammars
VoiceXML script runs fine on gist.github.com but won't run on my server
How to dynamically set bargein property in VXML?
Keeping call open
using vxml transfer between 2 extensions
date value in database
Accessing form elements filling fields?
Take any user input confirm it
VoiceXML without Telephone
vxml grammar srcexpr attribute not evaluating every time
Voice XML Block expression
Does MS Lync server 2010 come with a built-in vxml browser?
VXML for DTMF entry of letters based on their placement on dialpad

Categories

HOME
google-cloud-platform
spark-streaming
cheerio
wakanda
twig
static
jelastic
sh
interpolation
crystal-reports-2013
mvc5
accessibility
pybossa
package-managers
gruntfile
esoteric-languages
imessage
jmp
swagger-2.0
simpleitk
symbols
imageresizer
zxing
flask-sqlalchemy
froala
windows-server-2003
pylons
progress-bar
subclass
carrierwave
livelink
jmockit
gojs
dynamic-jasper
arduino-ide
fiware-cygnus
roblox
engine.io
openerp-7
docfx
alphabetical
recurrent-neural-network
jvmti
numberpicker
parser-generator
logback-groovy
chronicle-map
facebook-social-plugins
dapper-simplecrud
linter
bluez
podscms
qtranslate
opengl-4
payload
stripe-connect
cudd
stax
webjars
preprocessor
tinkerpop3
jodd
delta
cifilter
avspeechsynthesizer
np-spring
rasterize
maybe
dynatree
ons-api
video-player
rpart
liquid-layout
cwrsync
jquery-forms-plugin
android-broadcast
iso-prolog
linkedin-jsapi
cbind
grails-plugin-rabbitmq
ray
renderer
git-repo
visual-studio-express
ebay-lms
beaker-testing
windows-98
cascadingdropdown
virtual-pc
twisted.web
asplinkbutton
device-width
frameworkelementfactory
jquery-blockui
virtualpathprovider
jquery-address
procedures
entity-attribute-value
codebase
data-mapping
web-application-project
image-capture
great-circle

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App