A PHP Error was encountered

Severity: Warning

Message: fopen(/tmp/ci_session3vb44bp07i6fp4hmmmmntb6b6f8v4pie): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /tmp)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 311
Function: require_once

Age Calculator using Java | Jaswinder
Coders Packet

Age Calculator using Java

By Jaswinder Singh

This code is used to find the current age including weeks and days using SimpleDateFormat class.

It is coded to provide readymade java code for age calculation. The user has to input the Date of Birth and the machine will calculate your current age including weeks and days.

DobConversion.java file is attached with this document which contains SimpleDateFormat class to define a pattern, Calendar class to get time functionalities, and LocalDate class to find the current date. The format for taking input is YYYY/MM/DD.

You can also specify some conditions as per your requirements.

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Jaswinder Singh (Jaswinder)

Download packets of source code on Coders Packet