SUM TIME WITH NUMBERS | WordPress.org

[ad_1]

If I have a calculated field (fieldname111) with the formula – cdate(fieldname109, ‘hh:ii’)

where fieldname109 is a date field with only time input selected, how do I add any number in another number field = fieldname110 to the time in – fieldname111?

I tried cdate(fieldname109+fieldname110, ‘hh:ii’) but the result is wrong.

fieldname109 = date field with time only
fieldname111 = cdate(fieldname109+fieldname110, ‘hh:ii’)
fieldname220 – a number field.

Is it also possible to show ‘am or pm’ in the calculated fields?

Thank you for your help.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer