Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Go Language
787+ articles
GoLang-time
76 posts
Recent Articles
Popular Articles
time.Time.MarshalBinary() Function in Golang with Examples
Last Updated: 28 April 2025
In Go language, time packages supplies functionality for determining as well as viewing time. The MarshalBinary() function in Go language is used to implement the encoding...
read more
Go Language
GoLang-time
time.Time.MarshalJSON() Function in Golang with Examples
Last Updated: 28 April 2020
In Go language, time packages supplies functionality for determining as well as viewing time. The MarshalJSON() function in Go language is used to implement the json.Marsh...
read more
Go Language
GoLang-time
time.Time.MarshalText() Function in Golang with Examples
Last Updated: 28 April 2020
In Go language, time packages supplies functionality for determining as well as viewing time. The MarshalText() function in Go language is used to implement the encoding.T...
read more
Go Language
GoLang-time
time.Time.UnmarshalBinary() Function in Golang with Examples
Last Updated: 10 May 2020
In Go language, time packages supply functionality for determining as well as viewing time. The UnmarshalBinary() function in Go language is used to implement the encoding...
read more
Go Language
GoLang-time
time.Time.UnmarshalJSON() Function in Golang with Examples
Last Updated: 10 May 2020
In Go language, time packages supply the functionality for determining as well as viewing time. The UnmarshalJSON() function in Go language is used to implement the json.U...
read more
Go Language
GoLang-time
Calculating total number of Hours, Days, Minutes and Seconds between two dates in Golang
Last Updated: 10 May 2020
To get the number of days between two dates, we can calculate the number of days from the beginning 0/0/0000 to the first date and the second date and compute their differ...
read more
Picked
Go Language
GoLang-time
Golang-Program
time.Time.UnmarshalText() Function in Golang with Examples
Last Updated: 10 May 2020
In Go language, time packages supplies functionality for determining as well as viewing time. The UnmarshalText() function in Go language is used to implement the encoding...
read more
Go Language
GoLang-time
time.Time.Round() Function in Golang with Examples
Last Updated: 28 April 2020
In Go language, time packages supplies functionality for determining as well as viewing time. The Time.Round() function in Go language is used to find the output of roundi...
read more
Go Language
GoLang-time
time.Time.Truncate() Function in Golang with Examples
Last Updated: 28 April 2020
In Go language, time packages supplies functionality for determining as well as viewing time. The Time.Truncate() function in Go language is used to find the output of rou...
read more
Go Language
GoLang-time
Time Durations in Golang
Last Updated: 28 April 2025
Operations related to time and date are a crucial part of software development (example log keeping). Go standard library provides a time package that has many functions a...
read more
Picked
Go Language
Write From Home
GoLang-time
Time Formatting in Golang
Last Updated: 17 May 2020
Golang supports time formatting and parsing via pattern-based layouts. To format time, we use the Format() method which formats a time.Time object.Syntax:func (t Time) For...
read more
Picked
Go Language
GoLang-time
Golang-Program
How to Print Specific date-time in Golang?
Last Updated: 17 May 2020
Golang supports time formatting and parsing via pattern-based layouts. In Go, the current time can be determined by using time.Now(), provided by the time package. Package...
read more
Picked
Go Language
GoLang-time
Golang-Program
How to Get Current Date and Time in Various Format in Golang?
Last Updated: 28 April 2025
Package "time" in Golang provides functionality for measuring and displaying time. The calendrical calculations always assume a Gregorian calendar, with no leap seconds. U...
read more
Picked
Go Language
GoLang-time
Golang-Program
Parsing Time in Golang
Last Updated: 08 June 2020
Parsing time is to convert our time to Golang time object so that we can extract information such as date, month, etc from it easily. We can parse any time by using time.P...
read more
Picked
Go Language
GoLang-time
Getting the current date and time with timestamp in local and other timezones in Golang
Last Updated: 22 June 2020
We can get the current date and time with a timestamp in local with the help of Location() function and other timezones in Golang with the help of LoadLocation() function....
read more
Picked
Go Language
GoLang-time
1
2
3
4
5
6
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !