Calendar - Android
To open native calendar wit native language
Native calendar with language support and option to take time also from user.
Can be configured to only take time input from user.
window.WTN.showDateTimePicker({
showDate:true,
showTime:true,
callback:function(data){
console.log("Date Data ->",JSON.stringify(data));
}
});
Data returned -
{"success":true,"type":"DATE_TIME_PICKER","date":"2024-7-7","time":"18:30","timestamp":"1723035604669"}
To capture only date - set showDate:true and showTime:false
To capture only time - set showDate:false and showTime:true
To capture both - set showDate:true and showTime:true


Last updated
Was this helpful?