将日期时间值转换为字符串 [英] Convert datetime value into string

查看:121
本文介绍了将日期时间值转换为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在获取当前日期&时间在mysql中使用NOW().我想将日期值转换为varchar并与另一个字符串连接.我该怎么办?

I am fetching the current date & time using NOW() in mysql. I want to convert the date value into a varchar and concat it with another string. How do I do it?

推荐答案

使用 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆