[23] Results

Golang : Compare files modify date example

golang last-modify-date compare-files-date time-date

Problem:

You're writing a game that will create multiple save files and you want to compare the save game files….... read more


Golang : Change date format to yyyy-mm-dd

golang date-format long-form-date short-form-date

Problem :

Your Golang program is producing date in long form that look like this :

2015-08-11 17:21:52.776537624 +0800 MYT

.... read more


PHP : Convert string to timestamp or datestamp before storing to database(MariaDB/MySQL)

php date timestamp strtotime

Problem :

Need to convert a date string in PHP before storing the date into database(MariaDB/MySQL). The field in table….... read more


Golang : Date and Time formatting

golang date time timestamp

Our civilizations won't progress till this stage without proper understanding, parsing and organising our lives base on date and time.….... read more


Cash Flow : 50 days to pay your credit card debt

cash-flow 50-days credit-cards statement-date due-date

In running a business, the most important keyword is "cash flow". A business without healthy cash flow, is just like….... read more


Golang : Convert date string to variants of time.Time type examples

golang date convert-timestamp format-date

Here are few examples on how to convert a given date of string type to equivalent time.Time type. Most newbies….... read more


Golang : minus time with Time.Add() or Time.AddDate() functions to calculate past date

golang time-different future-date past-date

Let's go back into history for this tutorial's sake. Somehow you have invented a time traveling device powered by Golang….... read more


Golang : How to determine if a year is leap year?

golang date leap-year

A leap year is a year with 366 days instead of 365 days. The algorithm to calculate if a year….... read more


Advertisement