Date

Submitted by: 
Introduction: This page will teach you about using the Date import in Java to output or get the current Time and/or Date. When is this needed? Adding a simple clock or date counter to an application adds a slightly more professional look to the overall appeal of the program, as well as having the time handy is always a good thing. What imports are needed? The imports we need to get the current...
Submitted by: 
In this tutorial, I'm going to show how to use the datetime picker using bootstrap framework. Datetime picker, allows user to select Day, Month and Year as well as the time picking for Hour and Minute. This time lets start building this project. But before this, make sure you have already downloaded the bootstrap-datepicker. Next, let’s create an html file. And will save it as “index.html” inside...
Submitted by: 
This tutorial will teach you how to create a program that will convert a string into a time object using java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of timeParse.java. 2. Import the following package library: import java.text.* ; //use to access DateFormat and SimpleDateFormat class import java.util.* ; // use to access Date class...
Submitted by: 
In this project, you will learn about date objects in javascript. The Date object is used to work with date and time. And this is the default functional key. var date = new Date ( ) ; The following are the Date Objects method. We will work only with the date. var month = date. getMonth ( ) ; Returns the month from 0 to 11. var day = date. getDate ( ) ; It will return the day of the month. var...
Submitted by: 
This is a simple tutorial in which we will create a simple Date Calculator program made in C#. On this, it will help you know the dates before and after the present date. For instance, you want to jump into seven days after the present date, the date calculator will automatically calculate it. And you don’t have to count the days anymore, so the user will benefit this kind of program. So, now let...
Submitted by: 
Last week, I have discussed a program for computing the difference between two dates. See here: How to Compute Date Difference in C# . Now, i will teach you how to create a program for finding a sum of a date and the number of days to be added using C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following...
Submitted by: 
This time I’m going to teach you how to calculate the date and the time on the present date in Visual Basic 2008 . This method will calculate if you want to add months, days, hour, minutes, seconds and milliseconds to the present date. Then, the answers will appear in each field accurately. So, let’s begin: First, open the Visual Basic 2008 , create a new Windows Application and do the Form just...
Submitted by: 
In this tutorial I’m going to show you how to use a DateTimePicker control in C#. The DateTimepicker control allows the user to select a date and a time and to display the date and time with specified format. To start creating this application, let’s create a new project in C# and we will call it as “Dates”. Then from the toolbox drag a DateTmePicker and four Buttons. The design will look like as...
Submitted by: 
This is my other java tutorial that i will teach you how to load and display the current date in Java GUI. Of course, it is a too little hassle because java has complicated codes in showing current date compared to other languages such as visual basic. Now, let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of DateText.java . 2. Import the following...
Submitted by: 
Today I’m going to show you how to create a simple Date Calculator in Visual Basic 2008 .With this, it will help you know the dates before and after the present date. For instance, you want to jump into seven days after the present date, the date calculator will automatically calculate it. And you don’t have to count the days anymore. So lets begin: Open Visual Basic 2008 , create a new Windows...

Pages