Commit d0fa6b70 authored by unknown's avatar unknown

A comment for str_to_datetime().

parent 0a6ff14f
...@@ -663,6 +663,20 @@ time_t str_to_timestamp(const char *str,uint length) ...@@ -663,6 +663,20 @@ time_t str_to_timestamp(const char *str,uint length)
} }
/*
Convert a string to datetime.
SYNOPSIS
str_to_datetime()
str String to parse (see str_to_TIME() synopsis)
length Length of str
fuzzy_date Flags (see str_to_TIME() synopsis)
RETURN
-1 if error
datetime value otherwise
*/
longlong str_to_datetime(const char *str,uint length, uint fuzzy_date) longlong str_to_datetime(const char *str,uint length, uint fuzzy_date)
{ {
TIME l_time; TIME l_time;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment