Install libdate-pregnancy-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdate-pregnancy-perl
Description:
Perl module to calculate birthdate and week numbers for a pregnancy
Date::Pregnancy can be used to calculate the due date for a pregnancy. This module implements 3 different methods for calculating the date of birth based on data such as first day of last period (LMP) and average period cycle length (APCL). . The 3 birthdate algorithms available in the module are 266 Days (default), 40 Weeks, and Count Back.
Homepage: https://metacpan.org/release/Date-Pregnancy
Version: 0.06-1
Section: universe/perl