Announcement

Collapse
No announcement yet.

[SOLVED] Current Date

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Current Date

    In SC7
    How do I retrieve Todays date to a variable ?
    SC7 seems to have a lot of date functions except getting todays date

    Can anyone help

  • #2
    Example to get current date
    Code:
    $var=date("Y-m-d");
    Example to get current date and time
    Code:
    $var=date("Y-m-d H:i:s");
    Best Regards
    Hiram BQ

    Comment


    • #3
      Thanks - it works

      Comment


      • #4
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        Last edited by aka; 05-30-2014, 02:20 AM.
        -----------------------------------------
        Arthur Klisiewicz
        dATA POINT SOFTWARE
        www.datapointsoftware.com

        Comment

        Working...
        X