Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shamsi To miladi #3

Closed
alisanie opened this issue Dec 5, 2014 · 1 comment
Closed

Shamsi To miladi #3

alisanie opened this issue Dec 5, 2014 · 1 comment

Comments

@alisanie
Copy link

alisanie commented Dec 5, 2014

Is it possible to convert shamsi to miladi with this package?

@neo13
Copy link

neo13 commented Dec 17, 2014

@alisanie You can use the toGregorian method provided by the base class [https://github.com/sallar/laravel-jdate/blob/master/libraries/jdatetime.php#L521].
It's fairly easy to use:
jDateTime::toGregorian($year, $month, $day)

@sallar sallar closed this as completed Dec 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants