Skip to main content

Build Timestamp Converter to Date with JavaScript

In our previous tutorial, we have explained Build Currency Converter in PHP. In this tutorial, we will explain how to implement functionality to convert timestamp into human readable date format using JavaScript.

Timestamp or epoch time is the point of time which occurred on certain event. In web applications, we stored date time as epoch timestamp or unix timestamp into database as it is more accurate and have more details.

The timestamp is only 10 digit number and it is not human readable. We have use epoch timestamp converter tools to convert timestamp into human readable date. We need to implement functionality to convert timestamp into human readable format and get other details related to date time.

We will also handle timestamp in milliseconds conversion to date. The tutorial explained in easy steps with live demo and also link to download source code of live demo.

timestamp converter to date

(more…)

Upload Multiple Image File with Node.js

In our previous Node.js tutorial, we have explained how to upload files to Amazon S3 server using Node.js. In this tutorial, we will explain how to upload multiple images using Node.js.

Image upload is an important feature of web applications to allow users to upload profile picture, manage Gallery etc. As we mostly use server side solutions to upload images, but now you can upload images using client end solutions with Node.js, a cross-platform run-time for running server-side JavaScript applications.

We will use Node.js Express framework, formidable, read-chunk and file-type Node.js modules to handle image upload with Node.js.

We will also use Bootstrap for design and jQuery for handling Ajax to upload files. The tutorial explained in easy steps to create multiple image upload example with Node.js and also link t download running source code of example.

(more…)

Amazon S3 File Upload using Node.js

In our previous Node.js tutorial, we have explained how to upload multiple file with Node.js. In this tutorial, you will learn how to upload files to Amazon S3 server with Node.js.

Amazon Simple Storage Service (AWS S3) is a popular web service that provides highly scalable, durable and secure file storage system on web. We can use AWS S3 web services to store files of different formats and can easily retrieve from anywhere and anytime on the web.

As mostly server side solutions are used to upload files to Amazon S3 server and its very time taking. But now we can use client-end solution as it is more faster than server side to upload large files to AWS S3 server with Node.js. The AWS S3 provides AWS SDK for Node.js to upload files from client side.

The tutorial explained in easy steps to implement Amazon S3 file upload with Node.js and can also download source code of running example.

(more…)

How to Install Node.js on Ubuntu

In our previous Node.js installation tutorial, we have explained how to install Node.js on Windows. In this tutorial, you will learn how to install Node.js on Ubuntu 18.04. Installing the Node.js is the first step to getting started and running your first application with Node.js.

Node.js is a cross-platform run-time for running server-side JavaScript applications. It provides a consistent JavaScript platform for general-purpose programming to build network applications quickly by leveraging JavaScript on both the front-end and server-side.


(more…)

How to Install Node.js on Windows

In our previous Node.js installation tutorial you have learned how to install Node.js on Ubuntu. In this tutorial, you will learn how to install Node.js on Windows to run your first Node.js application.

Node.js is an open source framework that allows us to run JavaScript on the server. The Node.js is very memory efficient as it runs as single-threaded, non-blocking and asynchronously. It supports all major platform like Windows, Linux, Unix, Mac etc. Due to Node.js awesome features, it becomes popular among web developers to develop dynamic web projects.

So if you’re using Windows operating systems and wants to start with Node.js, you’re here at right place.

(more…)