Skip to content

Modern Chrono DateTime AddMinutes

Paul Squires edited this page Oct 19, 2026 · 1 revision

Home › Date and Time (Chrono) › Chrono Date and Time › DateTime.AddMinutes

DateTime.AddMinutes

Returns the date-time moved by a number of minutes, fractions allowed.

Syntax

DateTime.AddMinutes

Examples

#import "std/chrono"
using chrono

dim as DateTime d = DateTime( 2026, 8, 13, 14, 30, 5, 123 )
print d.AddMinutes( 30 ).Hour        '' 15
print d.AddMinutes( 1.5 ).Second     '' 35 -- fractional minutes are fine

Library: Chrono Date and Time
Category: Date and Time (Chrono)
Documented under: The Members

Clone this wiki locally