Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
How to pass the parameter to datetime picker function

As i had a datetimepicker function, and i need to iterate through an array which contains dates and then i need to add those dates with additional 15 minutes or 20 minutes based on some conditions,

what i need is , how to pass the array values(dates) to the datetimepicker and to add the minutes to that dates

previously my code was

 $(".addtime").datetimepicker({
 ignoreReadonly:true,
  format: 'LT',
  defaultDate: generateCurrentDate()+' 00:20'
});

as it adding for current date, i need to pass input as params and then i has to add to that , how to achieve this

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

string strdt = dateTimePicker1.Text; DateTime dt = Convert.ToDateTime(dateTimePicker1.Text);

you will have the selected Date in datetime format

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!