concept numerical value in category fortran

appears as: numerical value, numerical values
Modern Fortran: Building efficient parallel applications

This is an excerpt from Manning's book Modern Fortran: Building efficient parallel applications.

Now that we have the code to cast the datetime instances as numerical values, it’s easy to take the difference of the two as days_diff = ndays1 - ndays2. However, now we have the opposite problem: we need to cast days_diff as a timedelta instance. Recall that to create a timedelta instance, we need integer values of days, hours, minutes, and seconds. The following snippet from the code casts a number of days into a timedelta instance: