Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hatamiarash7/matlab_gregoriantohijri

Convert Gregorian ( Miladi ) date to Hijri ( Jalali - Hijri Shamsi )
https://github.com/hatamiarash7/matlab_gregoriantohijri

calander date date-converter datetime matlab

Last synced: about 1 month ago
JSON representation

Convert Gregorian ( Miladi ) date to Hijri ( Jalali - Hijri Shamsi )

Awesome Lists containing this project

README

        

# Matlab_GregorianToHijri

Converts Gregorian dates to Persian/ Jalali (Solar Hijri)

## How to

- You can run `datetoday.m` to see today's date in Hijri format.
- Or, you can use `dateconv.m` to convert your dates :

```matlab
dateconv(year, month, day);
```

Example :

```matlab
[sh, sh_fa] = dateconv(2021, 5, 6);

Today's date is :
06-Jun-2021

1400 2 16

۱۶ اردیبهشت/ثور ۱۴۰۰
```