Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 38943d1

Browse files
author
RakeshJesadiya
committed
fixed-reviewed-suggested-changes
1 parent de29fd6 commit 38943d1

File tree

1 file changed

+5
-7
lines changed
  • src/guides/v2.3/extension-dev-guide/framework

1 file changed

+5
-7
lines changed

src/guides/v2.3/extension-dev-guide/framework/datetime.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
---
22
group: php-developer-guide
3-
title: DateTime Library
3+
title: DateTime library
44
contributor_name: Rakesh Jesadiya
55
contributor_link: https://github.com/RakeshJesadiya
66
---
77

8-
## Overview
9-
10-
This DateTime library provides utilities to work with formatting of date time. Provided methods in this library are described below.
8+
This DateTime library provides utilities to work with date and time formatting. Provided methods in this library are described below.
119

1210
## Usage
1311

1412
|Method|Description|
1513
|--- |--- |
16-
| `formatDate` | Format date to internal format |
17-
| `isEmptyDate` | Check whether sql date is empty |
14+
| `formatDate` | Format the date to the Magento internal format |
15+
| `isEmptyDate` | Check whether provided date value is empty or null |
1816

1917
### Example
2018

21-
The following example shows how to Format current date and time to internal format.
19+
The following example shows how to format the current date and time into the Magento internal format.
2220

2321
```php
2422
<?php

0 commit comments

Comments
 (0)