date – POFTUT

How To Print/Get Today Date and Time In JavaScript, C/C++, Python, C#, Java, PHP, PowerShell, Excel (VBScript) ?

How To Print/Get Today Date and Time In JavaScript, C/C++, Python, C#, Java, PHP, PowerShell, Excel (VBScript) ?

While developing applications date and time operations are very important. A lot of different data and record is bind to a date or time. We can also use the only date which specifies the year, month and day or time which specifies the hour, minute, second. All popular programming languages provides date and time functions … Read more

NTP Port Number and Configuration Tutorial For Linux Local System

NTP is a core protocol used today’s IT infrastructure to synchronize date and time information. In order to work properly, we need to configuration NTP port in our server, client and intermediate systems like switch, firewall, router. NTP Port UDP 123 NTP uses the UDP port number 123 by default. NTP services run on UDP protocol … Read more

What Is Linux Epoch Time?

What Is Linux Epoch Time?

Epoch time is used in Linux systems regularly to express a given date and time. Epoch time may be very strange for Non-Linux users. But epoch time uses very simple logic to calculate date and time. Start Of Date and Time Epoch time uses reference point to calculate date and time. Reference point for epoch … Read more

How To Get Current Date Time with Now() Function In Python?

How To Get Current Date Time with Now() Function In Python?

Date and time is an important part of application development. We generally need to set, get, and change some data time information to our records. In this tutorial, we will examine the python date time now functions and use cases with examples. For more information about Python date-time functions can be get from the following … Read more

Git – Reviewing Changes

Git stores all commits as snapshots. We can commit limitless. If we can to review our commits we can use log command. Git Log We can simple list commits without any argument tot the log command. $ git log commit 877ab08a2c122c70326bb025530e48cb673c8505 Author: John Doe <jdoe@poftut.com> Date:   Sat Oct 8 04:23:46 2016 +0000    Version 4,Added LICENSE commit 22dc9ad592d5bc21412a246791a05abd42e72793 … Read more

Javascript Date Types and Functions

Date is used to store date related types. There are a lot of date functions to operate with date variables. Date holds year,month,day,hour,minute,second and millisecond. var d=new Date(); We have created new d variable with date type. 2016-10-27T03:41:55.155Z This is the value holded d  Get Day of Week The day number of the week can be … Read more

Python Date Time Functions With Examples

Date time is important part of the application development. Date is used in different format to show, save, or compare events and process. Date and time have different presentation formats which may be change according to countries and localization settings. In this tutorial we will look different usage examples of datetime operations. Import Datetime Library … Read more

Set Time Zone With Tzutil In Windows From Command Line

Time and date configuration is very important for servers. Some logs and security rules are tied with date and time information. In windows environments this information can be set with different tools and ways. Powershell, GUI or command line MS-DOS can be used to set time and date information. In this tutorial we will look … Read more

How To Copy Files and Backup With Xcopy In Windows?

Windows provides very featureful command which is used to copy files can take backups named xcopy . Xcopy can be used copy files from one partition to other partition or a usb drive. Xcopy also supports  incremental backup which create advantages  while taking backups. We will look different usage examples of xcopy in this tutorial. Help … Read more

How To Navigate, List Files and Directories In Windows Command Line With Dir?

Windows operating system provides command line tool named MS-DOS. This command line have different tools and capabilities for daily operations. We will look some simple steps about usage like navigation, list files and directories etc. We will mainly use dir command for this tutorial. Help Help information about dir command can be listed like below. $ dir … Read more