Hướng dẫn how to compare date time in php - cách so sánh ngày giờ trong php

Tôi có ba ngày A, B và C.

A = 2013-08-10 10:00
B = 2013-08-10 12:00
C = 2013-08-10 10:22

Những gì tôi đang cố gắng làm là kiểm tra xem C có ở trong A và B không, nếu nó trả về đúng. Bất cứ ai có bất kỳ ý tưởng về cách làm điều này?

Tôi đã thử điều này mà không có may mắn

    if ($time >= $date_start && $time <= $date_end)
    {
        echo "is between\n";
    } else {
        echo 'no';
    }

Hỏi ngày 13 tháng 8 năm 2013 lúc 12:48Aug 13, 2013 at 12:48

Hướng dẫn how to compare date time in php - cách so sánh ngày giờ trong php

Anonamasanonamasanonamas

2431 Huy hiệu vàng6 Huy hiệu bạc15 Huy hiệu đồng1 gold badge6 silver badges15 bronze badges

2

Bạn có thể chuyển đổi chúng thành Unix Timestamp để so sánh.

$A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
$B = strtotime($B);
$C = strtotime($C);

if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
  echo "Yes '$C' is between '$A' and '$B'";
 }

Đã trả lời ngày 13 tháng 8 năm 2013 lúc 12:54Aug 13, 2013 at 12:54

Sử dụng mã sau để so sánh giá trị ngày trong PHP

$a = new DateTime("2013-08-10 10:00");
$b = new DateTime("2013-08-10 12:00");
$c = new DateTime("2013-08-10 10:22");

if ($a < $c && $c < $b ) {
    return true;
}

Hướng dẫn how to compare date time in php - cách so sánh ngày giờ trong php

Đã trả lời ngày 13 tháng 8 năm 2013 lúc 13:03Aug 13, 2013 at 13:03

Hướng dẫn how to compare date time in php - cách so sánh ngày giờ trong php

alok.kumaralok.kumaralok.kumar

3803 Huy hiệu bạc11 Huy hiệu đồng3 silver badges11 bronze badges

Sử dụng hàm strtotime.

$A = "2013-08-10 10:00";
$B = "2013-08-10 12:00";
$C = "2013-08-10 10:22";

if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
    echo "The time is between time A and B.";
} else {
    echo "It is not between time A and B.";
}

Hướng dẫn how to compare date time in php - cách so sánh ngày giờ trong php

Đã trả lời ngày 13 tháng 8 năm 2013 lúc 12:52Aug 13, 2013 at 12:52

1

Sử dụng lớp DateTime:

$A = '2013-08-10 10:00';
$B = '2013-08-10 12:00';
$C = '2013-08-10 10:22';

$dateA = DateTime::createFromFormat('Y-m-d H:m', $A);
$dateB = DateTime::createFromFormat('Y-m-d H:m', $B);
$dateC = DateTime::createFromFormat('Y-m-d H:m', $C);

if ($dateA >= $dateB && $dateA <= $dateC)
{
  echo "$dateA is between $dateB and $dateC";
}

Đã trả lời ngày 13 tháng 8 năm 2013 lúc 12:57Aug 13, 2013 at 12:57

Cải thiện bài viết

Lưu bài viết

  • Đọc
  • Bàn luận
  • Cải thiện bài viết

    Lưu bài viết

    Đọc

    Bàn luận If the given dates are in the same format then use a simple comparison operator to compare the dates.

    Example:

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    0

    Cho hai ngày (ngày 1 và ngày 2) và nhiệm vụ là so sánh các ngày đã cho. So sánh hai ngày trong PHP rất đơn giản khi cả hai ngày ở cùng định dạng nhưng vấn đề phát sinh khi cả hai ngày ở một định dạng khác nhau.

    Phương pháp 1: Nếu các ngày đã cho ở cùng định dạng thì sử dụng toán tử so sánh đơn giản để so sánh các ngày.

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    3
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    9
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    0
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    4

    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    4

    Output:

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    6
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    6
    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4
    If both of the given dates are in different formats then use strtotime() function to convert the given dates into the corresponding timestamp format and lastly compare these numerical timestamps to get the desired result.

    Example:

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    0

    1998-11-24 is latest than 1997-03-26
    

    Phương pháp 2: Nếu cả hai ngày đã cho ở các định dạng khác nhau thì hãy sử dụng hàm strtotime () để chuyển đổi các ngày đã cho thành định dạng dấu thời gian tương ứng và cuối cùng so sánh các dấu thời gian số này để có kết quả mong muốn.

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    8
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    4
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    6
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    0
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    9
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    0
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    4

    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    4

    Output:

    12-03-26 is latest than 2011-10-24
    

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    6
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4
    Using DateTime class to compare two dates.

    Example:

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    6
    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    1998-11-24 is latest than 1997-03-26
    

    Phương pháp 2: Nếu cả hai ngày đã cho ở các định dạng khác nhau thì hãy sử dụng hàm strtotime () để chuyển đổi các ngày đã cho thành định dạng dấu thời gian tương ứng và cuối cùng so sánh các dấu thời gian số này để có kết quả mong muốn.

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    3
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4

    DateTime8DateTime9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5DateTime4DateTime5
    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    9

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    9
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    0
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    1
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    2
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    4

    DateTime8DateTime9

        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    5DateTime4DateTime5
    $A = "2013-08-10 10:00";
    $B = "2013-08-10 12:00";
    $C = "2013-08-10 10:22";
    
    if (strtotime($C) > strtotime($A) && strtotime($C) < strtotime($B)){
        echo "The time is between time A and B.";
    } else {
        echo "It is not between time A and B.";
    }
    
    9

    $a = new DateTime("2013-08-10 10:00");
    $b = new DateTime("2013-08-10 12:00");
    $c = new DateTime("2013-08-10 10:22");
    
    if ($a < $c && $c < $b ) {
        return true;
    }
    
    4

    Output:

    2012-11-24 is latest than 2011-03-26
    

    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    5
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    6
    $A = strtotime($A); //gives value in Unix Timestamp (seconds since 1970)
    $B = strtotime($B);
    $C = strtotime($C);
    
    if ((($C < $A) && ($C > $B)) || (($C > $A) && ($C < $B)) ){
      echo "Yes '$C' is between '$A' and '$B'";
     }
    
    7
        if ($time >= $date_start && $time <= $date_end)
        {
            echo "is between\n";
        } else {
            echo 'no';
        }
    
    4


    Làm thế nào tôi có thể so sánh hai lần trong PHP?

    Bạn có thể sử dụng hàm strtotime () để có được chênh lệch thời gian giữa hai ngày (dữ liệu) trong vài phút bằng PHP.use strtotime() function to get the time difference between two dates (DateTimes) in minutes using PHP.

    Tôi có thể so sánh ngày trong PHP không?

    So sánh hai ngày trong PHP rất đơn giản khi cả hai ngày ở cùng định dạng nhưng vấn đề phát sinh khi cả hai ngày ở một định dạng khác nhau.Phương pháp 1: Nếu các ngày đã cho ở cùng định dạng thì sử dụng toán tử so sánh đơn giản để so sánh các ngày.echo "$ date1 lớn hơn $ ngày2";?>use a simple comparison operator to compare the dates. echo "$date1 is older than $date2" ; ?>

    Làm thế nào tôi có thể so sánh ngày hôm nay với một ngày khác trong PHP?

    Bạn có thể so sánh ngày php với ngày hiện tại bằng cách sử dụng hàm strtotime () cùng với các toán tử so sánh.Hàm date_diff () cho phép bạn so sánh hai ngày và tìm sự khác biệt giữa chúng.using the strtotime() function along with comparison operators. The date_diff() function allows you to compare two dates and find the difference between them.

    Làm thế nào tôi có thể kiểm tra xem một ngày có lớn hơn hôm nay trong PHP không?

    Làm thế nào tôi có thể kiểm tra xem một ngày có lớn hơn ngày hôm nay trong PHP không ?..
    Phương pháp 3: Sử dụng lớp DateTime để so sánh hai ngày.
    $ date_now = new DateTime () ;.
    $ date2 = new DateTime ("01/02/2016") ;.
    if ($ date_now> $ date2) {.
    echo 'lớn hơn' ;.
    }else{.
    Echo 'ít hơn' ;.