This topic is locked

Month name

1/9/2014 2:14:00 AM
PHPRunner General questions
G
gagsoft author

Hi all
I would like to know how to update a character field with the month name of another date field every time the date field is updated / changed.
Thanks

Sergey Kornilov admin 1/9/2014

Here is an example of doing that in PHP. Assuming that date value is stored in $value variable here is how you can get the month name:

echo date("F",strtotime($value));