I use param altField to show date and time in two fields separately. But when I want to get current date and time by calling $(#date_field).datetimepicker('getDate') I get only date, not date with time. The time is 00:00 always, independently of what it really is. How to solve this problem ? How to get current date and time when using altField ?
I use param altField to show date and time in two fields separately. But when I want to get current date and time by calling $(#date_field).datetimepicker('getDate') I get only date, not date with time. The time is 00:00 always, independently of what it really is. How to solve this problem ? How to get current date and time when using altField ?