How to Convert Julian Day into a Specified Calendar in PHP

Submitted by alpha_luna on

PHP cal_from_jd()

The cal_from_jd() function converts the specified Julian day into a date of the specified calendar.

Syntax of this function:

cal_from_jd(jd,calendar) jd - A number (a Julian day count). (required) calendar - specifies the calendar to use. (required) The following calendar values can be used:
  • CAL_GREGORIAN
  • CAL_JULIAN
  • CAL_JEWISH
  • CAL_FRENCH

Animation Timing Function in CSS3

Submitted by alpha_luna on

Good day!

In this tutorial, we are going to learn about animation-timing-function. What is animation-timing-function? animation-timing-function property specifies the speed curve of the animation. The speed curve defines the amount of time an animation uses to change from one set of CSS styles to another. Syntax of this property: animation-timing-function: linear | ease | ease-in | ease-out | ease-in-out | cubic-bezier (n,n,n,n) | initial | inherit ; Property Values

How to Shake a Form in VB.NET

Submitted by donbermoy on
This is a tutorial that will teach you how to create a form shaker in vb.net. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add two Buttons named Button1 for Left-Right shake and Button2 for Up-Down shake button.

Display Windows User Properties in VB.NET

Submitted by donbermoy on
Today, I will teach you how to create a program that displays the Windows User Properties in VB.NET. It will have Windows user properties like Username, Guest User, System, Anonymous, Authentication, Impersonation Level, Authentication Type, Groups, Owner Value, User Value, and Token Size. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Hello World Program in Java

Submitted by GeePee on
The following is the most basic example of a Java program. You need the Java Development Kit installed in order to compile source code you write. If you don't have JDK installed on your computer, go here and click the link for your operating system for directions on how to install it. The following code contains many comments. Anything after two slashes // is ignored by the compiler. Programmers use comments to help themselves and each other keep track of what their code is meant to do.

Network Programming in Java - #8 - Chat System #3 - The Message Packet

Submitted by GeePee on
Introduction: This tutorial is the eighth in my Java Network Programming using KryoNet series, or third in creating a chat client and server system, in which we are going to be handling sending and receiving messages. Previous: In the previous tutorial we created a client handler for our server to keep track of the connected clients. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list. Send incoming messa

Network Programming in Java - #9 - Chat System #4 - Client Disconnect Listener

Submitted by GeePee on
Introduction: This tutorial is the ninth in my Java Network Programming using KryoNet series, or fourth in creating a chat client and server system, in which we are going to be handling disconnected clients. Previous: In the previous tutorial we created a way to receive and send messages through a new Packet2Message class to and from our server/client. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list.